ALSA: hda - Fix build error without CONFIG_SND_HDA_HWDEP=y
authorTakashi Iwai <tiwai@suse.de>
Thu, 12 Nov 2009 09:01:18 +0000 (10:01 +0100)
committerTakashi Iwai <tiwai@suse.de>
Thu, 12 Nov 2009 09:01:18 +0000 (10:01 +0100)
commit7288561af9a931c59e431336b553d897ee37b67d
treea4880bbe8e17f443f7cd2ad642e76788ef3ead07
parentf8b7163529831ee3ad6a1aeaa0f1256cb527008d
ALSA: hda - Fix build error without CONFIG_SND_HDA_HWDEP=y

CONFIG_SND_HDA_POWER_SAVE is independent from CONFIG_SND_HDA_HWDEP.
Thus snd_hda_hwdep_add_power_sysfs() needs the check of both kconfigs.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/hda_local.h