ALSA: Add #ifdef CONFIG_PCI guard for snd_pci_quirk_* functions
authorAxel Lin <axel.lin@gmail.com>
Mon, 30 Jan 2012 09:10:58 +0000 (17:10 +0800)
committerTakashi Iwai <tiwai@suse.de>
Mon, 30 Jan 2012 09:17:52 +0000 (10:17 +0100)
commit8422fa110334cea79ab16c474902edb21a8b3168
tree9f1406c099192caaaa11b3ff7e7bad3b3cf40a6b
parenta389d67cf9849aff1722ed73186a584e2196a873
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 <axel.lin@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
include/sound/core.h