Commit 7a9a7314 authored by Domen Puncer's avatar Domen Puncer Committed by Linus Torvalds

[PATCH] drivers/macintoshisdn/*: convert to pci_register_driver

convert from pci_module_init to pci_register_driver
Signed-off-by: default avatarChristophe Lucas <c.lucas@ifrance.com>
Signed-off-by: default avatarDomen Puncer <domen@coderock.org>
Acked-by: default avatarBenjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 620859d1
......@@ -617,7 +617,7 @@ static int __init macio_module_init (void)
#ifdef CONFIG_PCI
int rc;
rc = pci_module_init(&macio_pci_driver);
rc = pci_register_driver(&macio_pci_driver);
if (rc)
return rc;
#endif /* CONFIG_PCI */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment