From: Axel Lin Date: Mon, 30 Jan 2012 09:10:58 +0000 (+0800) Subject: ALSA: Add #ifdef CONFIG_PCI guard for snd_pci_quirk_* functions X-Git-Tag: v3.3-rc3~29^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8422fa110334cea79ab16c474902edb21a8b3168;p=pandora-kernel.git ALSA: Add #ifdef CONFIG_PCI guard for snd_pci_quirk_* functions This fixes below build warning when CONFIG_PCI is not set. CC sound/sound_core.o In file included from sound/sound_core.c:15: include/sound/core.h:454: warning: 'struct pci_dev' declared inside parameter list include/sound/core.h:454: warning: its scope is only this definition or declaration, which is probably not what you want Signed-off-by: Axel Lin Signed-off-by: Takashi Iwai --- Reading git-diff-tree failed