Эх сурвалжийг харах

[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>
Dave Jones 20 жил өмнө
parent
commit
159f597a8b

+ 1 - 1
sound/pci/bt87x.c

@@ -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;