2008-11-22 17:41:40

by Al Viro

[permalink] [raw]
Subject: [PATCH 24/32] pci_setup() is init, not devinit


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

Signed-off-by: Al Viro <[email protected]>
---
drivers/pci/pci.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/pci/pci.c b/drivers/pci/pci.c
--- a/drivers/pci/pci.c
+++ b/drivers/pci/pci.c
@@ -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, ',');