Commit 962fa801 authored by Domen Puncer's avatar Domen Puncer Committed by Linus Torvalds

[PATCH] drivers/eisa/*: 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>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent ddbfa651
...@@ -59,7 +59,7 @@ static struct pci_driver pci_eisa_driver = { ...@@ -59,7 +59,7 @@ static struct pci_driver pci_eisa_driver = {
static int __init pci_eisa_init_module (void) static int __init pci_eisa_init_module (void)
{ {
return pci_module_init (&pci_eisa_driver); return pci_register_driver (&pci_eisa_driver);
} }
device_initcall(pci_eisa_init_module); device_initcall(pci_eisa_init_module);
......
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