netdev
[Top] [All Lists]

[patch 3/3] drivers/net/wireless/prism54/*: convert to pci_register_driv

To: prism54-private@xxxxxxxxxxx
Subject: [patch 3/3] drivers/net/wireless/prism54/*: convert to pci_register_driver
From: domen@xxxxxxxxxxxx
Date: Sun, 06 Mar 2005 23:23:58 +0100
Cc: netdev@xxxxxxxxxxx, domen@xxxxxxxxxxxx, c.lucas@xxxxxxxxxxx
Sender: netdev-bounce@xxxxxxxxxxx
convert from pci_module_init to pci_register_driver
(from:http://kerneljanitors.org/TODO).

Signed-off-by: Christophe Lucas <c.lucas@xxxxxxxxxxx>
Signed-off-by: Domen Puncer <domen@xxxxxxxxxxxx>
---


 kj-domen/drivers/net/wireless/prism54/islpci_hotplug.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -puN 
drivers/net/wireless/prism54/islpci_hotplug.c~pci_register_driver-drivers_net_wireless_prism54
 drivers/net/wireless/prism54/islpci_hotplug.c
--- 
kj/drivers/net/wireless/prism54/islpci_hotplug.c~pci_register_driver-drivers_net_wireless_prism54
   2005-03-05 16:12:44.000000000 +0100
+++ kj-domen/drivers/net/wireless/prism54/islpci_hotplug.c      2005-03-05 
16:12:44.000000000 +0100
@@ -315,7 +315,7 @@ prism54_module_init(void)
 
        __bug_on_wrong_struct_sizes ();
 
-       return pci_module_init(&prism54_driver);
+       return pci_register_driver(&prism54_driver);
 }
 
 /* by the time prism54_module_exit() terminates, as a postcondition
_

<Prev in Thread] Current Thread [Next in Thread>