]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
PCI: pci/search: EXPORTs cannot be __devinit
authorRandy Dunlap <rdunlap@xenotime.net>
Tue, 18 Jul 2006 21:33:16 +0000 (14:33 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 3 Aug 2006 20:20:06 +0000 (13:20 -0700)
EXPORTed symbols cannot be __init/__devinit.

Signed-off-by: Randy Dunlap <rdunlap@xenotime.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/pci/search.c

index f8ae2b7db0a718b1ec22edb6aabbe68f7845a82d..d529462d1b53e6b8083aab301eca87f02ebac35a 100644 (file)
@@ -41,7 +41,7 @@ pci_do_find_bus(struct pci_bus* bus, unsigned char busnr)
  * in the global list of PCI buses.  If the bus is found, a pointer to its
  * data structure is returned.  If no bus is found, %NULL is returned.
  */
-struct pci_bus * __devinit pci_find_bus(int domain, int busnr)
+struct pci_bus * pci_find_bus(int domain, int busnr)
 {
        struct pci_bus *bus = NULL;
        struct pci_bus *tmp_bus;