Skip to content

Commit

Permalink
pci_setup() is init, not devinit
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Al Viro authored and Linus Torvalds committed Nov 30, 2008
1 parent 4bcc17d commit ad04d31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/pci/pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -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, ',');
Expand Down

0 comments on commit ad04d31

Please sign in to comment.