ALSA: hda - Fix unused warnings when !SND_HDA_NEEDS_RESUME
authorMike Waychison <mikew@google.com>
Wed, 20 Apr 2011 19:04:36 +0000 (12:04 -0700)
committerTakashi Iwai <tiwai@suse.de>
Wed, 20 Apr 2011 19:24:31 +0000 (21:24 +0200)
commit1c7276cfc04b1a5b296b691c2e07297a4f6c19aa
treea526127048ac72f2dfc2c15f1ef5c8cb444c193f
parent6981d184376e74391c23c116a068f8d1305f0e57
ALSA: hda - Fix unused warnings when !SND_HDA_NEEDS_RESUME

When SND_HDA_NEEDS_RESUME is not defined, the compiler identifies that
the following symbols are static but not used:

 restore_shutup_pins
 hda_cleanup_all_streams

Fix warnings by adding SND_HDA_NEEDS_RESUME guards.

Signed-off-by: Mike Waychison <mikew@google.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/hda_codec.c