netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] netxen_nic_main.c: Convert pci_module_init() to pci_register_driver()
@ 2007-01-12 13:19 Richard Knutsson
  2007-01-12 14:29 ` Amit Kale
  0 siblings, 1 reply; 2+ messages in thread
From: Richard Knutsson @ 2007-01-12 13:19 UTC (permalink / raw)
  To: amitkale; +Cc: netdev

Signed-off-by: Richard Knutsson <ricknu-0@student.ltu.se>
---

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);



^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-01-12 14:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-01-12 13:19 [PATCH] netxen_nic_main.c: Convert pci_module_init() to pci_register_driver() Richard Knutsson
2007-01-12 14:29 ` Amit Kale

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).