Commit 3b10b5a3 authored by Matthew Wilcox's avatar Matthew Wilcox Committed by Linus Torvalds

[PATCH] drivers/parisc: Convert to pci_register_driver

convert from pci_module_init to pci_register_driver
(from:http://kerneljanitors.org/TODO).
Signed-off-by: default avatarChristophe Lucas <c.lucas@ifrance.com>
Signed-off-by: default avatarDomen Puncer <domen@coderock.org>
Signed-off-by: default avatarMatthew Wilcox <willy@parisc-linux.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent cbd6064e
......@@ -495,7 +495,7 @@ static struct pci_driver superio_driver = {
static int __init superio_modinit(void)
{
return pci_module_init(&superio_driver);
return pci_register_driver(&superio_driver);
}
static void __exit superio_exit(void)
......
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