[alsa-devel] [PATCH] ALSA: Include linux/pci.h in sound/core.h
axel.lin at gmail.com
Mon Jan 30 07:01:37 CET 2012
2012/1/30 Axel Lin <axel.lin at gmail.com>:
> commit d1458279b "ALSA: Add snd_pci_quirk_lookup_id()" introduces below build
> 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
> Include linux/pci.h to fix the build warning.
oh.. The correct fix should be to add #ifdef CONFIG_PCI guard for
I'll send the fix now.
More information about the Alsa-devel