diff options
author | Bill Pemberton <wfp5p@virginia.edu> | 2012-12-03 09:23:56 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-12-03 14:16:54 -0500 |
commit | 093d369d4e8e8b6361317edd83935bdf8a0c83de (patch) | |
tree | f9104ba926ad0b4bed3c31a48f91d57160e0ab85 /drivers/net/ethernet/atheros | |
parent | 97c71ad4cef8bf9af36d2c495a971e149a9b77c8 (diff) |
net/atheros: remove __dev* attributes
CONFIG_HOTPLUG is going away as an option. As result the __dev*
markings will be going away.
Remove use of __devinit, __devexit_p, __devinitdata, __devinitconst,
and __devexit.
Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Cc: Jay Cliburn <jcliburn@gmail.com>
Cc: Chris Snook <chris.snook@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/net/ethernet/atheros')
-rw-r--r-- | drivers/net/ethernet/atheros/atl1c/atl1c_main.c | 14 | ||||
-rw-r--r-- | drivers/net/ethernet/atheros/atl1e/atl1e_main.c | 10 | ||||
-rw-r--r-- | drivers/net/ethernet/atheros/atl1e/atl1e_param.c | 7 | ||||
-rw-r--r-- | drivers/net/ethernet/atheros/atlx/atl1.c | 14 | ||||
-rw-r--r-- | drivers/net/ethernet/atheros/atlx/atl2.c | 16 |
5 files changed, 31 insertions, 30 deletions
diff --git a/drivers/net/ethernet/atheros/atl1c/atl1c_main.c b/drivers/net/ethernet/atheros/atl1c/atl1c_main.c index d19f82f7597a..44bee4a2b9b3 100644 --- a/drivers/net/ethernet/atheros/atl1c/atl1c_main.c +++ b/drivers/net/ethernet/atheros/atl1c/atl1c_main.c | |||
@@ -643,7 +643,7 @@ static int atl1c_ioctl(struct net_device *netdev, struct ifreq *ifr, int cmd) | |||
643 | * @adapter: board private structure to initialize | 643 | * @adapter: board private structure to initialize |
644 | * | 644 | * |
645 | */ | 645 | */ |
646 | static int __devinit atl1c_alloc_queues(struct atl1c_adapter *adapter) | 646 | static int atl1c_alloc_queues(struct atl1c_adapter *adapter) |
647 | { | 647 | { |
648 | return 0; | 648 | return 0; |
649 | } | 649 | } |
@@ -702,7 +702,7 @@ struct atl1c_platform_patch { | |||
702 | u32 patch_flag; | 702 | u32 patch_flag; |
703 | #define ATL1C_LINK_PATCH 0x1 | 703 | #define ATL1C_LINK_PATCH 0x1 |
704 | }; | 704 | }; |
705 | static const struct atl1c_platform_patch plats[] __devinitconst = { | 705 | static const struct atl1c_platform_patch plats[] = { |
706 | {0x2060, 0xC1, 0x1019, 0x8152, 0x1}, | 706 | {0x2060, 0xC1, 0x1019, 0x8152, 0x1}, |
707 | {0x2060, 0xC1, 0x1019, 0x2060, 0x1}, | 707 | {0x2060, 0xC1, 0x1019, 0x2060, 0x1}, |
708 | {0x2060, 0xC1, 0x1019, 0xE000, 0x1}, | 708 | {0x2060, 0xC1, 0x1019, 0xE000, 0x1}, |
@@ -725,7 +725,7 @@ static const struct atl1c_platform_patch plats[] __devinitconst = { | |||
725 | {0}, | 725 | {0}, |
726 | }; | 726 | }; |
727 | 727 | ||
728 | static void __devinit atl1c_patch_assign(struct atl1c_hw *hw) | 728 | static void atl1c_patch_assign(struct atl1c_hw *hw) |
729 | { | 729 | { |
730 | struct pci_dev *pdev = hw->adapter->pdev; | 730 | struct pci_dev *pdev = hw->adapter->pdev; |
731 | u32 misc_ctrl; | 731 | u32 misc_ctrl; |
@@ -764,7 +764,7 @@ static void __devinit atl1c_patch_assign(struct atl1c_hw *hw) | |||
764 | * Fields are initialized based on PCI device information and | 764 | * Fields are initialized based on PCI device information and |
765 | * OS network device settings (MTU size). | 765 | * OS network device settings (MTU size). |
766 | */ | 766 | */ |
767 | static int __devinit atl1c_sw_init(struct atl1c_adapter *adapter) | 767 | static int atl1c_sw_init(struct atl1c_adapter *adapter) |
768 | { | 768 | { |
769 | struct atl1c_hw *hw = &adapter->hw; | 769 | struct atl1c_hw *hw = &adapter->hw; |
770 | struct pci_dev *pdev = adapter->pdev; | 770 | struct pci_dev *pdev = adapter->pdev; |
@@ -2442,7 +2442,7 @@ static int atl1c_init_netdev(struct net_device *netdev, struct pci_dev *pdev) | |||
2442 | * The OS initialization, configuring of the adapter private structure, | 2442 | * The OS initialization, configuring of the adapter private structure, |
2443 | * and a hardware reset occur. | 2443 | * and a hardware reset occur. |
2444 | */ | 2444 | */ |
2445 | static int __devinit atl1c_probe(struct pci_dev *pdev, | 2445 | static int atl1c_probe(struct pci_dev *pdev, |
2446 | const struct pci_device_id *ent) | 2446 | const struct pci_device_id *ent) |
2447 | { | 2447 | { |
2448 | struct net_device *netdev; | 2448 | struct net_device *netdev; |
@@ -2587,7 +2587,7 @@ err_dma: | |||
2587 | * Hot-Plug event, or because the driver is going to be removed from | 2587 | * Hot-Plug event, or because the driver is going to be removed from |
2588 | * memory. | 2588 | * memory. |
2589 | */ | 2589 | */ |
2590 | static void __devexit atl1c_remove(struct pci_dev *pdev) | 2590 | static void atl1c_remove(struct pci_dev *pdev) |
2591 | { | 2591 | { |
2592 | struct net_device *netdev = pci_get_drvdata(pdev); | 2592 | struct net_device *netdev = pci_get_drvdata(pdev); |
2593 | struct atl1c_adapter *adapter = netdev_priv(netdev); | 2593 | struct atl1c_adapter *adapter = netdev_priv(netdev); |
@@ -2697,7 +2697,7 @@ static struct pci_driver atl1c_driver = { | |||
2697 | .name = atl1c_driver_name, | 2697 | .name = atl1c_driver_name, |
2698 | .id_table = atl1c_pci_tbl, | 2698 | .id_table = atl1c_pci_tbl, |
2699 | .probe = atl1c_probe, | 2699 | .probe = atl1c_probe, |
2700 | .remove = __devexit_p(atl1c_remove), | 2700 | .remove = atl1c_remove, |
2701 | .shutdown = atl1c_shutdown, | 2701 | .shutdown = atl1c_shutdown, |
2702 | .err_handler = &atl1c_err_handler, | 2702 | .err_handler = &atl1c_err_handler, |
2703 | .driver.pm = &atl1c_pm_ops, | 2703 | .driver.pm = &atl1c_pm_ops, |
diff --git a/drivers/net/ethernet/atheros/atl1e/atl1e_main.c b/drivers/net/ethernet/atheros/atl1e/atl1e_main.c index e213da29e73d..dec5d2cfd386 100644 --- a/drivers/net/ethernet/atheros/atl1e/atl1e_main.c +++ b/drivers/net/ethernet/atheros/atl1e/atl1e_main.c | |||
@@ -534,7 +534,7 @@ static void atl1e_setup_pcicmd(struct pci_dev *pdev) | |||
534 | * @adapter: board private structure to initialize | 534 | * @adapter: board private structure to initialize |
535 | * | 535 | * |
536 | */ | 536 | */ |
537 | static int __devinit atl1e_alloc_queues(struct atl1e_adapter *adapter) | 537 | static int atl1e_alloc_queues(struct atl1e_adapter *adapter) |
538 | { | 538 | { |
539 | return 0; | 539 | return 0; |
540 | } | 540 | } |
@@ -547,7 +547,7 @@ static int __devinit atl1e_alloc_queues(struct atl1e_adapter *adapter) | |||
547 | * Fields are initialized based on PCI device information and | 547 | * Fields are initialized based on PCI device information and |
548 | * OS network device settings (MTU size). | 548 | * OS network device settings (MTU size). |
549 | */ | 549 | */ |
550 | static int __devinit atl1e_sw_init(struct atl1e_adapter *adapter) | 550 | static int atl1e_sw_init(struct atl1e_adapter *adapter) |
551 | { | 551 | { |
552 | struct atl1e_hw *hw = &adapter->hw; | 552 | struct atl1e_hw *hw = &adapter->hw; |
553 | struct pci_dev *pdev = adapter->pdev; | 553 | struct pci_dev *pdev = adapter->pdev; |
@@ -2235,7 +2235,7 @@ static int atl1e_init_netdev(struct net_device *netdev, struct pci_dev *pdev) | |||
2235 | * The OS initialization, configuring of the adapter private structure, | 2235 | * The OS initialization, configuring of the adapter private structure, |
2236 | * and a hardware reset occur. | 2236 | * and a hardware reset occur. |
2237 | */ | 2237 | */ |
2238 | static int __devinit atl1e_probe(struct pci_dev *pdev, | 2238 | static int atl1e_probe(struct pci_dev *pdev, |
2239 | const struct pci_device_id *ent) | 2239 | const struct pci_device_id *ent) |
2240 | { | 2240 | { |
2241 | struct net_device *netdev; | 2241 | struct net_device *netdev; |
@@ -2387,7 +2387,7 @@ err_dma: | |||
2387 | * Hot-Plug event, or because the driver is going to be removed from | 2387 | * Hot-Plug event, or because the driver is going to be removed from |
2388 | * memory. | 2388 | * memory. |
2389 | */ | 2389 | */ |
2390 | static void __devexit atl1e_remove(struct pci_dev *pdev) | 2390 | static void atl1e_remove(struct pci_dev *pdev) |
2391 | { | 2391 | { |
2392 | struct net_device *netdev = pci_get_drvdata(pdev); | 2392 | struct net_device *netdev = pci_get_drvdata(pdev); |
2393 | struct atl1e_adapter *adapter = netdev_priv(netdev); | 2393 | struct atl1e_adapter *adapter = netdev_priv(netdev); |
@@ -2499,7 +2499,7 @@ static struct pci_driver atl1e_driver = { | |||
2499 | .name = atl1e_driver_name, | 2499 | .name = atl1e_driver_name, |
2500 | .id_table = atl1e_pci_tbl, | 2500 | .id_table = atl1e_pci_tbl, |
2501 | .probe = atl1e_probe, | 2501 | .probe = atl1e_probe, |
2502 | .remove = __devexit_p(atl1e_remove), | 2502 | .remove = atl1e_remove, |
2503 | /* Power Management Hooks */ | 2503 | /* Power Management Hooks */ |
2504 | #ifdef CONFIG_PM | 2504 | #ifdef CONFIG_PM |
2505 | .suspend = atl1e_suspend, | 2505 | .suspend = atl1e_suspend, |
diff --git a/drivers/net/ethernet/atheros/atl1e/atl1e_param.c b/drivers/net/ethernet/atheros/atl1e/atl1e_param.c index b5086f1e637f..fa314282c9ad 100644 --- a/drivers/net/ethernet/atheros/atl1e/atl1e_param.c +++ b/drivers/net/ethernet/atheros/atl1e/atl1e_param.c | |||
@@ -40,7 +40,7 @@ | |||
40 | #define ATL1E_PARAM_INIT { [0 ... ATL1E_MAX_NIC] = OPTION_UNSET } | 40 | #define ATL1E_PARAM_INIT { [0 ... ATL1E_MAX_NIC] = OPTION_UNSET } |
41 | 41 | ||
42 | #define ATL1E_PARAM(x, desc) \ | 42 | #define ATL1E_PARAM(x, desc) \ |
43 | static int __devinitdata x[ATL1E_MAX_NIC + 1] = ATL1E_PARAM_INIT; \ | 43 | static int x[ATL1E_MAX_NIC + 1] = ATL1E_PARAM_INIT; \ |
44 | static unsigned int num_##x; \ | 44 | static unsigned int num_##x; \ |
45 | module_param_array_named(x, x, int, &num_##x, 0); \ | 45 | module_param_array_named(x, x, int, &num_##x, 0); \ |
46 | MODULE_PARM_DESC(x, desc); | 46 | MODULE_PARM_DESC(x, desc); |
@@ -116,7 +116,8 @@ struct atl1e_option { | |||
116 | } arg; | 116 | } arg; |
117 | }; | 117 | }; |
118 | 118 | ||
119 | static int __devinit atl1e_validate_option(int *value, struct atl1e_option *opt, struct atl1e_adapter *adapter) | 119 | static int atl1e_validate_option(int *value, struct atl1e_option *opt, |
120 | struct atl1e_adapter *adapter) | ||
120 | { | 121 | { |
121 | if (*value == OPTION_UNSET) { | 122 | if (*value == OPTION_UNSET) { |
122 | *value = opt->def; | 123 | *value = opt->def; |
@@ -177,7 +178,7 @@ static int __devinit atl1e_validate_option(int *value, struct atl1e_option *opt, | |||
177 | * value exists, a default value is used. The final value is stored | 178 | * value exists, a default value is used. The final value is stored |
178 | * in a variable in the adapter structure. | 179 | * in a variable in the adapter structure. |
179 | */ | 180 | */ |
180 | void __devinit atl1e_check_options(struct atl1e_adapter *adapter) | 181 | void atl1e_check_options(struct atl1e_adapter *adapter) |
181 | { | 182 | { |
182 | int bd = adapter->bd_number; | 183 | int bd = adapter->bd_number; |
183 | 184 | ||
diff --git a/drivers/net/ethernet/atheros/atlx/atl1.c b/drivers/net/ethernet/atheros/atlx/atl1.c index 7bae2ad7a7c0..3e7327ec3901 100644 --- a/drivers/net/ethernet/atheros/atlx/atl1.c +++ b/drivers/net/ethernet/atheros/atlx/atl1.c | |||
@@ -113,7 +113,7 @@ static const struct ethtool_ops atl1_ethtool_ops; | |||
113 | * | 113 | * |
114 | * Default Value: 100 (200us) | 114 | * Default Value: 100 (200us) |
115 | */ | 115 | */ |
116 | static int __devinitdata int_mod_timer[ATL1_MAX_NIC+1] = ATL1_PARAM_INIT; | 116 | static int int_mod_timer[ATL1_MAX_NIC+1] = ATL1_PARAM_INIT; |
117 | static unsigned int num_int_mod_timer; | 117 | static unsigned int num_int_mod_timer; |
118 | module_param_array_named(int_mod_timer, int_mod_timer, int, | 118 | module_param_array_named(int_mod_timer, int_mod_timer, int, |
119 | &num_int_mod_timer, 0); | 119 | &num_int_mod_timer, 0); |
@@ -143,7 +143,7 @@ struct atl1_option { | |||
143 | } arg; | 143 | } arg; |
144 | }; | 144 | }; |
145 | 145 | ||
146 | static int __devinit atl1_validate_option(int *value, struct atl1_option *opt, | 146 | static int atl1_validate_option(int *value, struct atl1_option *opt, |
147 | struct pci_dev *pdev) | 147 | struct pci_dev *pdev) |
148 | { | 148 | { |
149 | if (*value == OPTION_UNSET) { | 149 | if (*value == OPTION_UNSET) { |
@@ -204,7 +204,7 @@ static int __devinit atl1_validate_option(int *value, struct atl1_option *opt, | |||
204 | * value exists, a default value is used. The final value is stored | 204 | * value exists, a default value is used. The final value is stored |
205 | * in a variable in the adapter structure. | 205 | * in a variable in the adapter structure. |
206 | */ | 206 | */ |
207 | static void __devinit atl1_check_options(struct atl1_adapter *adapter) | 207 | static void atl1_check_options(struct atl1_adapter *adapter) |
208 | { | 208 | { |
209 | struct pci_dev *pdev = adapter->pdev; | 209 | struct pci_dev *pdev = adapter->pdev; |
210 | int bd = adapter->bd_number; | 210 | int bd = adapter->bd_number; |
@@ -945,7 +945,7 @@ static void atl1_set_mac_addr(struct atl1_hw *hw) | |||
945 | * Fields are initialized based on PCI device information and | 945 | * Fields are initialized based on PCI device information and |
946 | * OS network device settings (MTU size). | 946 | * OS network device settings (MTU size). |
947 | */ | 947 | */ |
948 | static int __devinit atl1_sw_init(struct atl1_adapter *adapter) | 948 | static int atl1_sw_init(struct atl1_adapter *adapter) |
949 | { | 949 | { |
950 | struct atl1_hw *hw = &adapter->hw; | 950 | struct atl1_hw *hw = &adapter->hw; |
951 | struct net_device *netdev = adapter->netdev; | 951 | struct net_device *netdev = adapter->netdev; |
@@ -2934,7 +2934,7 @@ static const struct net_device_ops atl1_netdev_ops = { | |||
2934 | * The OS initialization, configuring of the adapter private structure, | 2934 | * The OS initialization, configuring of the adapter private structure, |
2935 | * and a hardware reset occur. | 2935 | * and a hardware reset occur. |
2936 | */ | 2936 | */ |
2937 | static int __devinit atl1_probe(struct pci_dev *pdev, | 2937 | static int atl1_probe(struct pci_dev *pdev, |
2938 | const struct pci_device_id *ent) | 2938 | const struct pci_device_id *ent) |
2939 | { | 2939 | { |
2940 | struct net_device *netdev; | 2940 | struct net_device *netdev; |
@@ -3113,7 +3113,7 @@ err_request_regions: | |||
3113 | * Hot-Plug event, or because the driver is going to be removed from | 3113 | * Hot-Plug event, or because the driver is going to be removed from |
3114 | * memory. | 3114 | * memory. |
3115 | */ | 3115 | */ |
3116 | static void __devexit atl1_remove(struct pci_dev *pdev) | 3116 | static void atl1_remove(struct pci_dev *pdev) |
3117 | { | 3117 | { |
3118 | struct net_device *netdev = pci_get_drvdata(pdev); | 3118 | struct net_device *netdev = pci_get_drvdata(pdev); |
3119 | struct atl1_adapter *adapter; | 3119 | struct atl1_adapter *adapter; |
@@ -3146,7 +3146,7 @@ static struct pci_driver atl1_driver = { | |||
3146 | .name = ATLX_DRIVER_NAME, | 3146 | .name = ATLX_DRIVER_NAME, |
3147 | .id_table = atl1_pci_tbl, | 3147 | .id_table = atl1_pci_tbl, |
3148 | .probe = atl1_probe, | 3148 | .probe = atl1_probe, |
3149 | .remove = __devexit_p(atl1_remove), | 3149 | .remove = atl1_remove, |
3150 | .shutdown = atl1_shutdown, | 3150 | .shutdown = atl1_shutdown, |
3151 | .driver.pm = ATL1_PM_OPS, | 3151 | .driver.pm = ATL1_PM_OPS, |
3152 | }; | 3152 | }; |
diff --git a/drivers/net/ethernet/atheros/atlx/atl2.c b/drivers/net/ethernet/atheros/atlx/atl2.c index 623dd8635c46..7dc9766bb5ba 100644 --- a/drivers/net/ethernet/atheros/atlx/atl2.c +++ b/drivers/net/ethernet/atheros/atlx/atl2.c | |||
@@ -83,7 +83,7 @@ static void atl2_check_options(struct atl2_adapter *adapter); | |||
83 | * Fields are initialized based on PCI device information and | 83 | * Fields are initialized based on PCI device information and |
84 | * OS network device settings (MTU size). | 84 | * OS network device settings (MTU size). |
85 | */ | 85 | */ |
86 | static int __devinit atl2_sw_init(struct atl2_adapter *adapter) | 86 | static int atl2_sw_init(struct atl2_adapter *adapter) |
87 | { | 87 | { |
88 | struct atl2_hw *hw = &adapter->hw; | 88 | struct atl2_hw *hw = &adapter->hw; |
89 | struct pci_dev *pdev = adapter->pdev; | 89 | struct pci_dev *pdev = adapter->pdev; |
@@ -1338,7 +1338,7 @@ static const struct net_device_ops atl2_netdev_ops = { | |||
1338 | * The OS initialization, configuring of the adapter private structure, | 1338 | * The OS initialization, configuring of the adapter private structure, |
1339 | * and a hardware reset occur. | 1339 | * and a hardware reset occur. |
1340 | */ | 1340 | */ |
1341 | static int __devinit atl2_probe(struct pci_dev *pdev, | 1341 | static int atl2_probe(struct pci_dev *pdev, |
1342 | const struct pci_device_id *ent) | 1342 | const struct pci_device_id *ent) |
1343 | { | 1343 | { |
1344 | struct net_device *netdev; | 1344 | struct net_device *netdev; |
@@ -1498,7 +1498,7 @@ err_dma: | |||
1498 | */ | 1498 | */ |
1499 | /* FIXME: write the original MAC address back in case it was changed from a | 1499 | /* FIXME: write the original MAC address back in case it was changed from a |
1500 | * BIOS-set value, as in atl1 -- CHS */ | 1500 | * BIOS-set value, as in atl1 -- CHS */ |
1501 | static void __devexit atl2_remove(struct pci_dev *pdev) | 1501 | static void atl2_remove(struct pci_dev *pdev) |
1502 | { | 1502 | { |
1503 | struct net_device *netdev = pci_get_drvdata(pdev); | 1503 | struct net_device *netdev = pci_get_drvdata(pdev); |
1504 | struct atl2_adapter *adapter = netdev_priv(netdev); | 1504 | struct atl2_adapter *adapter = netdev_priv(netdev); |
@@ -1705,7 +1705,7 @@ static struct pci_driver atl2_driver = { | |||
1705 | .name = atl2_driver_name, | 1705 | .name = atl2_driver_name, |
1706 | .id_table = atl2_pci_tbl, | 1706 | .id_table = atl2_pci_tbl, |
1707 | .probe = atl2_probe, | 1707 | .probe = atl2_probe, |
1708 | .remove = __devexit_p(atl2_remove), | 1708 | .remove = atl2_remove, |
1709 | /* Power Management Hooks */ | 1709 | /* Power Management Hooks */ |
1710 | .suspend = atl2_suspend, | 1710 | .suspend = atl2_suspend, |
1711 | #ifdef CONFIG_PM | 1711 | #ifdef CONFIG_PM |
@@ -2845,12 +2845,12 @@ static void atl2_force_ps(struct atl2_hw *hw) | |||
2845 | */ | 2845 | */ |
2846 | 2846 | ||
2847 | #define ATL2_PARAM(X, desc) \ | 2847 | #define ATL2_PARAM(X, desc) \ |
2848 | static const int __devinitconst X[ATL2_MAX_NIC + 1] = ATL2_PARAM_INIT; \ | 2848 | static const int X[ATL2_MAX_NIC + 1] = ATL2_PARAM_INIT; \ |
2849 | MODULE_PARM(X, "1-" __MODULE_STRING(ATL2_MAX_NIC) "i"); \ | 2849 | MODULE_PARM(X, "1-" __MODULE_STRING(ATL2_MAX_NIC) "i"); \ |
2850 | MODULE_PARM_DESC(X, desc); | 2850 | MODULE_PARM_DESC(X, desc); |
2851 | #else | 2851 | #else |
2852 | #define ATL2_PARAM(X, desc) \ | 2852 | #define ATL2_PARAM(X, desc) \ |
2853 | static int __devinitdata X[ATL2_MAX_NIC+1] = ATL2_PARAM_INIT; \ | 2853 | static int X[ATL2_MAX_NIC+1] = ATL2_PARAM_INIT; \ |
2854 | static unsigned int num_##X; \ | 2854 | static unsigned int num_##X; \ |
2855 | module_param_array_named(X, X, int, &num_##X, 0); \ | 2855 | module_param_array_named(X, X, int, &num_##X, 0); \ |
2856 | MODULE_PARM_DESC(X, desc); | 2856 | MODULE_PARM_DESC(X, desc); |
@@ -2934,7 +2934,7 @@ struct atl2_option { | |||
2934 | } arg; | 2934 | } arg; |
2935 | }; | 2935 | }; |
2936 | 2936 | ||
2937 | static int __devinit atl2_validate_option(int *value, struct atl2_option *opt) | 2937 | static int atl2_validate_option(int *value, struct atl2_option *opt) |
2938 | { | 2938 | { |
2939 | int i; | 2939 | int i; |
2940 | struct atl2_opt_list *ent; | 2940 | struct atl2_opt_list *ent; |
@@ -2992,7 +2992,7 @@ static int __devinit atl2_validate_option(int *value, struct atl2_option *opt) | |||
2992 | * value exists, a default value is used. The final value is stored | 2992 | * value exists, a default value is used. The final value is stored |
2993 | * in a variable in the adapter structure. | 2993 | * in a variable in the adapter structure. |
2994 | */ | 2994 | */ |
2995 | static void __devinit atl2_check_options(struct atl2_adapter *adapter) | 2995 | static void atl2_check_options(struct atl2_adapter *adapter) |
2996 | { | 2996 | { |
2997 | int val; | 2997 | int val; |
2998 | struct atl2_option opt; | 2998 | struct atl2_option opt; |