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)
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>

No differences found