summaryrefslogtreecommitdiff
path: root/drivers/pci/pci.c
diff options
context:
space:
mode:
authorAl Viro <viro@ftp.linux.org.uk>2008-11-22 17:37:14 +0000
committerLinus Torvalds <torvalds@linux-foundation.org>2008-11-30 10:03:37 -0800
commitad04d31e5fb6b25308e6cdea6baa07d41871a3e0 (patch)
tree999bb7dd65f9d241420a80e21024596ea698e59b /drivers/pci/pci.c
parent4bcc17dd8e48b612d43a9b0a6faa9eaa358fa4bd (diff)
downloadlwn-ad04d31e5fb6b25308e6cdea6baa07d41871a3e0.tar.gz
lwn-ad04d31e5fb6b25308e6cdea6baa07d41871a3e0.zip
pci_setup() is init, not devinit
for fsck sake, it's used only when parsing kernel command line... Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/pci/pci.c')
-rw-r--r--drivers/pci/pci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/pci.c b/drivers/pci/pci.c
index 28af496b441e..061d1ee0046a 100644
--- 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, ',');