]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitafa3e606d9451a4f1edf96d59b2dd5ee15d645cd
treea526127048ac72f2dfc2c15f1ef5c8cb444c193f
parentb9cc920009244e081b3e5e30ab3fd7903baa07fa
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