diff options
Diffstat (limited to 'sound/soc/intel/skylake/skl.h')
-rw-r--r-- | sound/soc/intel/skylake/skl.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/sound/soc/intel/skylake/skl.h b/sound/soc/intel/skylake/skl.h index a47779c819d5..14e7778d7f80 100644 --- a/sound/soc/intel/skylake/skl.h +++ b/sound/soc/intel/skylake/skl.h | |||
@@ -23,6 +23,7 @@ | |||
23 | 23 | ||
24 | #include <sound/hda_register.h> | 24 | #include <sound/hda_register.h> |
25 | #include <sound/hdaudio_ext.h> | 25 | #include <sound/hdaudio_ext.h> |
26 | #include <sound/soc.h> | ||
26 | #include "skl-nhlt.h" | 27 | #include "skl-nhlt.h" |
27 | 28 | ||
28 | #define SKL_SUSPEND_DELAY 2000 | 29 | #define SKL_SUSPEND_DELAY 2000 |
@@ -120,9 +121,14 @@ void skl_update_d0i3c(struct device *dev, bool enable); | |||
120 | int skl_nhlt_create_sysfs(struct skl *skl); | 121 | int skl_nhlt_create_sysfs(struct skl *skl); |
121 | void skl_nhlt_remove_sysfs(struct skl *skl); | 122 | void skl_nhlt_remove_sysfs(struct skl *skl); |
122 | 123 | ||
124 | struct skl_module_cfg; | ||
125 | |||
123 | #ifdef CONFIG_DEBUG_FS | 126 | #ifdef CONFIG_DEBUG_FS |
124 | struct skl_debug *skl_debugfs_init(struct skl *skl); | 127 | struct skl_debug *skl_debugfs_init(struct skl *skl); |
125 | void skl_debugfs_exit(struct skl_debug *d); | 128 | void skl_debugfs_exit(struct skl_debug *d); |
129 | void skl_debug_init_module(struct skl_debug *d, | ||
130 | struct snd_soc_dapm_widget *w, | ||
131 | struct skl_module_cfg *mconfig); | ||
126 | #else | 132 | #else |
127 | static inline struct skl_debug *skl_debugfs_init(struct skl *skl) | 133 | static inline struct skl_debug *skl_debugfs_init(struct skl *skl) |
128 | { | 134 | { |
@@ -130,6 +136,10 @@ static inline struct skl_debug *skl_debugfs_init(struct skl *skl) | |||
130 | } | 136 | } |
131 | static inline void skl_debugfs_exit(struct skl_debug *d) | 137 | static inline void skl_debugfs_exit(struct skl_debug *d) |
132 | {} | 138 | {} |
139 | static inline void skl_debug_init_module(struct skl_debug *d, | ||
140 | struct snd_soc_dapm_widget *w, | ||
141 | struct skl_module_cfg *mconfig) | ||
142 | {} | ||
133 | #endif | 143 | #endif |
134 | 144 | ||
135 | #endif /* __SOUND_SOC_SKL_H */ | 145 | #endif /* __SOUND_SOC_SKL_H */ |