[PATCH] Fix bt87x.c build problem for real
authorDave Jones <davej@redhat.com>
Wed, 6 Jul 2005 19:29:09 +0000 (15:29 -0400)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 6 Jul 2005 19:40:35 +0000 (12:40 -0700)
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>
sound/pci/bt87x.c

index 15202f1..c5557ea 100644 (file)
@@ -806,7 +806,7 @@ static int __devinit snd_bt87x_detect_card(struct pci_dev *pci)
        int i;
        const struct pci_device_id *supported;
 
-       supported = pci_match_device(driver, pci);
+       supported = pci_match_device(&driver, pci);
        if (supported)
                return supported->driver_data;