RDMA/amso1100: pci_module_init() conversion
authorHenrik Kretzschmar <henne@nachtwindheim.de>
Tue, 10 Oct 2006 21:26:01 +0000 (14:26 -0700)
committerRoland Dreier <rolandd@cisco.com>
Mon, 16 Oct 2006 17:06:07 +0000 (10:06 -0700)
pci_module_init() convertion in amso1100 driver.

Signed-off-by: Henrik Kretzschmar <henne@nachtwindheim.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/amso1100/c2.c

index dc1ebeac35c7d74b2e480b3362d5742a2f2f1d07..9e7bd94b958ad528b28b0d06e2bd7f02e4855c76 100644 (file)
@@ -1243,7 +1243,7 @@ static struct pci_driver c2_pci_driver = {
 
 static int __init c2_init_module(void)
 {
-       return pci_module_init(&c2_pci_driver);
+       return pci_register_driver(&c2_pci_driver);
 }
 
 static void __exit c2_exit_module(void)