mirror of https://gitee.com/openkylin/linux.git
[PATCH] Fix bt87x.c build problem for real
Just the declaration fix wasn't enough to fix things in bt78x.c Signed-off-by: Dave Jones <davej@redhat.com> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
parent
83b78bd2d3
commit
159f597a8b
|
@ -806,7 +806,7 @@ static int __devinit snd_bt87x_detect_card(struct pci_dev *pci)
|
||||||
int i;
|
int i;
|
||||||
const struct pci_device_id *supported;
|
const struct pci_device_id *supported;
|
||||||
|
|
||||||
supported = pci_match_device(driver, pci);
|
supported = pci_match_device(&driver, pci);
|
||||||
if (supported)
|
if (supported)
|
||||||
return supported->driver_data;
|
return supported->driver_data;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue