diff options
author | Jeff Garzik <jeff@garzik.org> | 2006-08-19 17:48:59 -0400 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2006-08-19 17:48:59 -0400 |
commit | 299176206b266f204be859adf9e66efd06628ab2 (patch) | |
tree | e25d9ee1c43940e00e70124a18d869a75de543ab /drivers/net/tokenring | |
parent | 5243a37b7991c85e3ea3afb6e3e13eea7ec2927d (diff) |
drivers/net: Remove deprecated use of pci_module_init()
From: Michal Piotrowski <michal.k.k.piotrowski@gmail.com>
Signed-off-by: Michal Piotrowski <michal.k.k.piotrowski@gmail.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/tokenring')
-rw-r--r-- | drivers/net/tokenring/3c359.c | 2 | ||||
-rw-r--r-- | drivers/net/tokenring/lanstreamer.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/tokenring/3c359.c b/drivers/net/tokenring/3c359.c index 465921e3874c..412390ba142e 100644 --- a/drivers/net/tokenring/3c359.c +++ b/drivers/net/tokenring/3c359.c | |||
@@ -1815,7 +1815,7 @@ static struct pci_driver xl_3c359_driver = { | |||
1815 | 1815 | ||
1816 | static int __init xl_pci_init (void) | 1816 | static int __init xl_pci_init (void) |
1817 | { | 1817 | { |
1818 | return pci_module_init (&xl_3c359_driver); | 1818 | return pci_register_driver(&xl_3c359_driver); |
1819 | } | 1819 | } |
1820 | 1820 | ||
1821 | 1821 | ||
diff --git a/drivers/net/tokenring/lanstreamer.c b/drivers/net/tokenring/lanstreamer.c index 28d968ffd5d0..0d66700c6ced 100644 --- a/drivers/net/tokenring/lanstreamer.c +++ b/drivers/net/tokenring/lanstreamer.c | |||
@@ -1998,7 +1998,7 @@ static struct pci_driver streamer_pci_driver = { | |||
1998 | }; | 1998 | }; |
1999 | 1999 | ||
2000 | static int __init streamer_init_module(void) { | 2000 | static int __init streamer_init_module(void) { |
2001 | return pci_module_init(&streamer_pci_driver); | 2001 | return pci_register_driver(&streamer_pci_driver); |
2002 | } | 2002 | } |
2003 | 2003 | ||
2004 | static void __exit streamer_cleanup_module(void) { | 2004 | static void __exit streamer_cleanup_module(void) { |