]> Zhao Yanbai Git Server - minix.git/commitdiff
Fixed extern declaration from pointer to array
authorBen Gras <ben@minix3.org>
Fri, 15 Jan 2010 12:08:57 +0000 (12:08 +0000)
committerBen Gras <ben@minix3.org>
Fri, 15 Jan 2010 12:08:57 +0000 (12:08 +0000)
drivers/pci/pci.c

index 859c7059b89b95653a290b113a23d31f63ca9f1b..72393c568ec3e77623a1c2ad47709e9794ff87d8 100644 (file)
@@ -85,7 +85,7 @@ PRIVATE struct pcidev
        int pd_bar_nr;
 } pcidev[NR_PCIDEV];
 
-EXTERN struct pci_acl *pci_acl;
+EXTERN struct pci_acl pci_acl[NR_DRIVERS];
 
 /* pb_flags */
 #define PBF_IO         1       /* I/O else memory */