aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/hda/hda_local.h
diff options
context:
space:
mode:
Diffstat (limited to 'sound/pci/hda/hda_local.h')
-rw-r--r--sound/pci/hda/hda_local.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/sound/pci/hda/hda_local.h b/sound/pci/hda/hda_local.h
index bf7ba8b62973..6f2fe0f9fdd8 100644
--- a/sound/pci/hda/hda_local.h
+++ b/sound/pci/hda/hda_local.h
@@ -409,11 +409,19 @@ void snd_hda_ctls_clear(struct hda_codec *codec);
409 */ 409 */
410#ifdef CONFIG_SND_HDA_HWDEP 410#ifdef CONFIG_SND_HDA_HWDEP
411int snd_hda_create_hwdep(struct hda_codec *codec); 411int snd_hda_create_hwdep(struct hda_codec *codec);
412int snd_hda_hwdep_add_sysfs(struct hda_codec *codec);
413#else 412#else
414static inline int snd_hda_create_hwdep(struct hda_codec *codec) { return 0; } 413static inline int snd_hda_create_hwdep(struct hda_codec *codec) { return 0; }
415#endif 414#endif
416 415
416#ifdef CONFIG_SND_HDA_RECONFIG
417int snd_hda_hwdep_add_sysfs(struct hda_codec *codec);
418#else
419static inline int snd_hda_hwdep_add_sysfs(struct hda_codec *codec)
420{
421 return 0;
422}
423#endif
424
417/* 425/*
418 * power-management 426 * power-management
419 */ 427 */