We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8f2b0d5 commit 6032eefCopy full SHA for 6032eef
sound/soc/sof/intel/hda-common-ops.c
@@ -14,7 +14,7 @@
14
#include "hda.h"
15
#include "../sof-audio.h"
16
17
-struct snd_sof_dsp_ops sof_hda_common_ops = {
+const struct snd_sof_dsp_ops sof_hda_common_ops = {
18
/* probe/remove/shutdown */
19
.probe_early = hda_dsp_probe_early,
20
.probe = hda_dsp_probe,
sound/soc/sof/intel/hda.h
@@ -874,7 +874,7 @@ int hda_dsp_dais_suspend(struct snd_sof_dev *sdev);
874
/*
875
* Platform Specific HW abstraction Ops.
876
*/
877
-extern struct snd_sof_dsp_ops sof_hda_common_ops;
+extern const struct snd_sof_dsp_ops sof_hda_common_ops;
878
879
extern struct snd_sof_dsp_ops sof_skl_ops;
880
int sof_skl_ops_init(struct snd_sof_dev *sdev);
0 commit comments