Skip to contentSkip to conversation

pci_setup() is init, not devinit

PATCH Applied Al Viro 1 participant 1 message Nov 22, 2008 PCI

lore
Share & tools
lore

Al Viro

author
#0 lore raw

PATCH 24/32 pci_setup() is init, not devinit

for fsck sake, it's used only when parsing kernel command line...

---
 drivers/pci/pci.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/pci/pci.c +1 -1
@@ -2042,7 +2042,7 @@ static int __devinit pci_init(void)
 	return 0;
 }
 
-static int __devinit pci_setup(char *str)
+static int __init pci_setup(char *str)
 {
 	while (str) {
 		char *k = strchr(str, ',');