Skip to contentSkip to conversation

pci/search: EXPORTs cannot be __devinit

PATCH In review Randy Dunlap 1 participant 1 message Jul 18, 2006 PCI

lore
Share & tools
lore
#0 lore raw

PATCH 3/3 pci/search: EXPORTs cannot be __devinit

From: Randy Dunlap <[email protected]>

EXPORTed symbols cannot be __init/__devinit.

---
 drivers/pci/search.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/pci/search.c +1 -1
@@ -41,7 +41,7 @@ pci_do_find_bus(struct pci_bus* bus, uns
  * 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;