• T
    ALSA: hda: Fix build warning · 525549d7
    Thierry Reding 提交于
    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: NThierry Reding <treding@nvidia.com>
    Signed-off-by: NTakashi Iwai <tiwai@suse.de>
    525549d7
hda_tegra.c 13.9 KB