diff options
Diffstat (limited to 'sound/pci/hda/hda_local.h')
-rw-r--r-- | sound/pci/hda/hda_local.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/hda/hda_local.h b/sound/pci/hda/hda_local.h index 015fbac914b3..c1ca3182e6a4 100644 --- a/sound/pci/hda/hda_local.h +++ b/sound/pci/hda/hda_local.h | |||
@@ -437,7 +437,7 @@ int snd_hda_create_hwdep(struct hda_codec *codec); | |||
437 | static inline int snd_hda_create_hwdep(struct hda_codec *codec) { return 0; } | 437 | static inline int snd_hda_create_hwdep(struct hda_codec *codec) { return 0; } |
438 | #endif | 438 | #endif |
439 | 439 | ||
440 | #ifdef CONFIG_SND_HDA_POWER_SAVE | 440 | #if defined(CONFIG_SND_HDA_POWER_SAVE) && defined(CONFIG_SND_HDA_HWDEP) |
441 | int snd_hda_hwdep_add_power_sysfs(struct hda_codec *codec); | 441 | int snd_hda_hwdep_add_power_sysfs(struct hda_codec *codec); |
442 | #else | 442 | #else |
443 | static inline int snd_hda_hwdep_add_power_sysfs(struct hda_codec *codec) | 443 | static inline int snd_hda_hwdep_add_power_sysfs(struct hda_codec *codec) |