Skip to content
Commit 8422fa11 authored by Axel Lin's avatar Axel Lin Committed by Takashi Iwai
Browse files

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: default avatarAxel Lin <axel.lin@gmail.com>
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent a389d67c
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment