From: Thierry Reding Date: Mon, 7 Jul 2014 13:13:12 +0000 (+0200) Subject: ALSA: hda: Fix build warning X-Git-Tag: omap-for-v3.17/fixes-against-rc2~285^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=525549d7342fca7fca9fc11298b5ab3617b6f730;p=pandora-kernel.git ALSA: hda: Fix build warning The hda_tegra_disable_clocks() function is only used by the suspend and resume code, so it needs to be included in the #ifdef CONFIG_PM_SLEEP block to prevent the following warning: CC sound/pci/hda/hda_tegra.o sound/pci/hda/hda_tegra.c:238:13: warning: 'hda_tegra_disable_clocks' defined but not used [-Wunused-function] static void hda_tegra_disable_clocks(struct hda_tegra *data) ^ Signed-off-by: Thierry Reding Signed-off-by: Takashi Iwai --- Reading git-diff-tree failed