[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 15202f15a02b0f403c82ef307f9f3736b8248889..c5557eaf3e2e0ffafcb76a0c442fc88116bc8901 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;