diff options
Diffstat (limited to 'sound/pci/hda/hda_local.h')
-rw-r--r-- | sound/pci/hda/hda_local.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sound/pci/hda/hda_local.h b/sound/pci/hda/hda_local.h index a79d0ed5469c..a708effdcdad 100644 --- a/sound/pci/hda/hda_local.h +++ b/sound/pci/hda/hda_local.h | |||
@@ -245,7 +245,14 @@ int snd_hda_multi_out_analog_cleanup(struct hda_codec *codec, | |||
245 | /* | 245 | /* |
246 | * generic codec parser | 246 | * generic codec parser |
247 | */ | 247 | */ |
248 | #ifdef CONFIG_SND_HDA_GENERIC | ||
248 | int snd_hda_parse_generic_codec(struct hda_codec *codec); | 249 | int snd_hda_parse_generic_codec(struct hda_codec *codec); |
250 | #else | ||
251 | static inline int snd_hda_parse_generic_codec(struct hda_codec *codec) | ||
252 | { | ||
253 | return -ENODEV; | ||
254 | } | ||
255 | #endif | ||
249 | 256 | ||
250 | /* | 257 | /* |
251 | * generic proc interface | 258 | * generic proc interface |