diff options
author | Amit S. Kale <amitkale@netxen.com> | 2007-01-22 06:52:53 -0800 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2007-01-23 01:02:11 -0500 |
commit | 184231bdb41fc4c385ae8e115f5afaff02fe1690 (patch) | |
tree | b697a78eeaf4e424907311aa7c97cbc8a88d8836 /drivers/net/netxen/netxen_nic_main.c | |
parent | 90f8b1d295e0c4a2148776e6cf801391cf07ae92 (diff) | |
download | kernel_samsung_smdk4412-184231bdb41fc4c385ae8e115f5afaff02fe1690.zip kernel_samsung_smdk4412-184231bdb41fc4c385ae8e115f5afaff02fe1690.tar.gz kernel_samsung_smdk4412-184231bdb41fc4c385ae8e115f5afaff02fe1690.tar.bz2 |
NetXen: Use pci_register_driver() instead of pci_module_init() in init_module
This will use pci_register_driver() instead of pci_module_init().
Signed-off-by: Amit S. Kale <amitkale@netxen.com>
Signed-off-by: Richard Knutsson <ricknu-0@student.ltu.se>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/netxen/netxen_nic_main.c')
-rw-r--r-- | drivers/net/netxen/netxen_nic_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/netxen/netxen_nic_main.c b/drivers/net/netxen/netxen_nic_main.c index 8a5792f..96e1bee 100644 --- a/drivers/net/netxen/netxen_nic_main.c +++ b/drivers/net/netxen/netxen_nic_main.c @@ -1144,7 +1144,7 @@ static int __init netxen_init_module(void) if ((netxen_workq = create_singlethread_workqueue("netxen")) == 0) return -ENOMEM; - return pci_module_init(&netxen_driver); + return pci_register_driver(&netxen_driver); } module_init(netxen_init_module); |