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/wireless | |
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/wireless')
-rw-r--r-- | drivers/net/wireless/atmel_pci.c | 2 | ||||
-rw-r--r-- | drivers/net/wireless/ipw2100.c | 2 | ||||
-rw-r--r-- | drivers/net/wireless/ipw2200.c | 2 | ||||
-rw-r--r-- | drivers/net/wireless/orinoco_nortel.c | 2 | ||||
-rw-r--r-- | drivers/net/wireless/orinoco_pci.c | 2 | ||||
-rw-r--r-- | drivers/net/wireless/orinoco_plx.c | 2 | ||||
-rw-r--r-- | drivers/net/wireless/orinoco_tmd.c | 2 | ||||
-rw-r--r-- | drivers/net/wireless/prism54/islpci_hotplug.c | 2 |
8 files changed, 8 insertions, 8 deletions
diff --git a/drivers/net/wireless/atmel_pci.c b/drivers/net/wireless/atmel_pci.c index d425c3cefded..3bfa791c323d 100644 --- a/drivers/net/wireless/atmel_pci.c +++ b/drivers/net/wireless/atmel_pci.c | |||
@@ -76,7 +76,7 @@ static void __devexit atmel_pci_remove(struct pci_dev *pdev) | |||
76 | 76 | ||
77 | static int __init atmel_init_module(void) | 77 | static int __init atmel_init_module(void) |
78 | { | 78 | { |
79 | return pci_module_init(&atmel_driver); | 79 | return pci_register_driver(&atmel_driver); |
80 | } | 80 | } |
81 | 81 | ||
82 | static void __exit atmel_cleanup_module(void) | 82 | static void __exit atmel_cleanup_module(void) |
diff --git a/drivers/net/wireless/ipw2100.c b/drivers/net/wireless/ipw2100.c index e955db435b30..5f8ccf48061a 100644 --- a/drivers/net/wireless/ipw2100.c +++ b/drivers/net/wireless/ipw2100.c | |||
@@ -6531,7 +6531,7 @@ static int __init ipw2100_init(void) | |||
6531 | printk(KERN_INFO DRV_NAME ": %s, %s\n", DRV_DESCRIPTION, DRV_VERSION); | 6531 | printk(KERN_INFO DRV_NAME ": %s, %s\n", DRV_DESCRIPTION, DRV_VERSION); |
6532 | printk(KERN_INFO DRV_NAME ": %s\n", DRV_COPYRIGHT); | 6532 | printk(KERN_INFO DRV_NAME ": %s\n", DRV_COPYRIGHT); |
6533 | 6533 | ||
6534 | ret = pci_module_init(&ipw2100_pci_driver); | 6534 | ret = pci_register_driver(&ipw2100_pci_driver); |
6535 | 6535 | ||
6536 | #ifdef CONFIG_IPW2100_DEBUG | 6536 | #ifdef CONFIG_IPW2100_DEBUG |
6537 | ipw2100_debug_level = debug; | 6537 | ipw2100_debug_level = debug; |
diff --git a/drivers/net/wireless/ipw2200.c b/drivers/net/wireless/ipw2200.c index 758459e72f3d..a72f3e1e991b 100644 --- a/drivers/net/wireless/ipw2200.c +++ b/drivers/net/wireless/ipw2200.c | |||
@@ -11753,7 +11753,7 @@ static int __init ipw_init(void) | |||
11753 | printk(KERN_INFO DRV_NAME ": " DRV_DESCRIPTION ", " DRV_VERSION "\n"); | 11753 | printk(KERN_INFO DRV_NAME ": " DRV_DESCRIPTION ", " DRV_VERSION "\n"); |
11754 | printk(KERN_INFO DRV_NAME ": " DRV_COPYRIGHT "\n"); | 11754 | printk(KERN_INFO DRV_NAME ": " DRV_COPYRIGHT "\n"); |
11755 | 11755 | ||
11756 | ret = pci_module_init(&ipw_driver); | 11756 | ret = pci_register_driver(&ipw_driver); |
11757 | if (ret) { | 11757 | if (ret) { |
11758 | IPW_ERROR("Unable to initialize PCI module\n"); | 11758 | IPW_ERROR("Unable to initialize PCI module\n"); |
11759 | return ret; | 11759 | return ret; |
diff --git a/drivers/net/wireless/orinoco_nortel.c b/drivers/net/wireless/orinoco_nortel.c index bf05b907747e..eaf3d13b851c 100644 --- a/drivers/net/wireless/orinoco_nortel.c +++ b/drivers/net/wireless/orinoco_nortel.c | |||
@@ -304,7 +304,7 @@ MODULE_LICENSE("Dual MPL/GPL"); | |||
304 | static int __init orinoco_nortel_init(void) | 304 | static int __init orinoco_nortel_init(void) |
305 | { | 305 | { |
306 | printk(KERN_DEBUG "%s\n", version); | 306 | printk(KERN_DEBUG "%s\n", version); |
307 | return pci_module_init(&orinoco_nortel_driver); | 307 | return pci_register_driver(&orinoco_nortel_driver); |
308 | } | 308 | } |
309 | 309 | ||
310 | static void __exit orinoco_nortel_exit(void) | 310 | static void __exit orinoco_nortel_exit(void) |
diff --git a/drivers/net/wireless/orinoco_pci.c b/drivers/net/wireless/orinoco_pci.c index 1759c543fbee..97a8b4ff32bd 100644 --- a/drivers/net/wireless/orinoco_pci.c +++ b/drivers/net/wireless/orinoco_pci.c | |||
@@ -244,7 +244,7 @@ MODULE_LICENSE("Dual MPL/GPL"); | |||
244 | static int __init orinoco_pci_init(void) | 244 | static int __init orinoco_pci_init(void) |
245 | { | 245 | { |
246 | printk(KERN_DEBUG "%s\n", version); | 246 | printk(KERN_DEBUG "%s\n", version); |
247 | return pci_module_init(&orinoco_pci_driver); | 247 | return pci_register_driver(&orinoco_pci_driver); |
248 | } | 248 | } |
249 | 249 | ||
250 | static void __exit orinoco_pci_exit(void) | 250 | static void __exit orinoco_pci_exit(void) |
diff --git a/drivers/net/wireless/orinoco_plx.c b/drivers/net/wireless/orinoco_plx.c index 7f006f624171..31162ac25a92 100644 --- a/drivers/net/wireless/orinoco_plx.c +++ b/drivers/net/wireless/orinoco_plx.c | |||
@@ -351,7 +351,7 @@ MODULE_LICENSE("Dual MPL/GPL"); | |||
351 | static int __init orinoco_plx_init(void) | 351 | static int __init orinoco_plx_init(void) |
352 | { | 352 | { |
353 | printk(KERN_DEBUG "%s\n", version); | 353 | printk(KERN_DEBUG "%s\n", version); |
354 | return pci_module_init(&orinoco_plx_driver); | 354 | return pci_register_driver(&orinoco_plx_driver); |
355 | } | 355 | } |
356 | 356 | ||
357 | static void __exit orinoco_plx_exit(void) | 357 | static void __exit orinoco_plx_exit(void) |
diff --git a/drivers/net/wireless/orinoco_tmd.c b/drivers/net/wireless/orinoco_tmd.c index 0831721e4d6c..7c7b960c91df 100644 --- a/drivers/net/wireless/orinoco_tmd.c +++ b/drivers/net/wireless/orinoco_tmd.c | |||
@@ -228,7 +228,7 @@ MODULE_LICENSE("Dual MPL/GPL"); | |||
228 | static int __init orinoco_tmd_init(void) | 228 | static int __init orinoco_tmd_init(void) |
229 | { | 229 | { |
230 | printk(KERN_DEBUG "%s\n", version); | 230 | printk(KERN_DEBUG "%s\n", version); |
231 | return pci_module_init(&orinoco_tmd_driver); | 231 | return pci_register_driver(&orinoco_tmd_driver); |
232 | } | 232 | } |
233 | 233 | ||
234 | static void __exit orinoco_tmd_exit(void) | 234 | static void __exit orinoco_tmd_exit(void) |
diff --git a/drivers/net/wireless/prism54/islpci_hotplug.c b/drivers/net/wireless/prism54/islpci_hotplug.c index 09fc17a0f029..f692dccf0d07 100644 --- a/drivers/net/wireless/prism54/islpci_hotplug.c +++ b/drivers/net/wireless/prism54/islpci_hotplug.c | |||
@@ -313,7 +313,7 @@ prism54_module_init(void) | |||
313 | 313 | ||
314 | __bug_on_wrong_struct_sizes (); | 314 | __bug_on_wrong_struct_sizes (); |
315 | 315 | ||
316 | return pci_module_init(&prism54_driver); | 316 | return pci_register_driver(&prism54_driver); |
317 | } | 317 | } |
318 | 318 | ||
319 | /* by the time prism54_module_exit() terminates, as a postcondition | 319 | /* by the time prism54_module_exit() terminates, as a postcondition |