diff options
Diffstat (limited to 'drivers/net/ethernet/intel/e1000e/param.c')
-rw-r--r-- | drivers/net/ethernet/intel/e1000e/param.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/ethernet/intel/e1000e/param.c b/drivers/net/ethernet/intel/e1000e/param.c index 1fbb31554e4d..b3beed2232fd 100644 --- a/drivers/net/ethernet/intel/e1000e/param.c +++ b/drivers/net/ethernet/intel/e1000e/param.c | |||
@@ -53,7 +53,7 @@ MODULE_PARM_DESC(copybreak, | |||
53 | */ | 53 | */ |
54 | #define E1000_PARAM_INIT { [0 ... E1000_MAX_NIC] = OPTION_UNSET } | 54 | #define E1000_PARAM_INIT { [0 ... E1000_MAX_NIC] = OPTION_UNSET } |
55 | #define E1000_PARAM(X, desc) \ | 55 | #define E1000_PARAM(X, desc) \ |
56 | static int __devinitdata X[E1000_MAX_NIC+1] \ | 56 | static int X[E1000_MAX_NIC+1] \ |
57 | = E1000_PARAM_INIT; \ | 57 | = E1000_PARAM_INIT; \ |
58 | static unsigned int num_##X; \ | 58 | static unsigned int num_##X; \ |
59 | module_param_array_named(X, X, int, &num_##X, 0); \ | 59 | module_param_array_named(X, X, int, &num_##X, 0); \ |
@@ -172,7 +172,7 @@ struct e1000_option { | |||
172 | } arg; | 172 | } arg; |
173 | }; | 173 | }; |
174 | 174 | ||
175 | static int __devinit e1000_validate_option(unsigned int *value, | 175 | static int e1000_validate_option(unsigned int *value, |
176 | const struct e1000_option *opt, | 176 | const struct e1000_option *opt, |
177 | struct e1000_adapter *adapter) | 177 | struct e1000_adapter *adapter) |
178 | { | 178 | { |
@@ -235,7 +235,7 @@ static int __devinit e1000_validate_option(unsigned int *value, | |||
235 | * value exists, a default value is used. The final value is stored | 235 | * value exists, a default value is used. The final value is stored |
236 | * in a variable in the adapter structure. | 236 | * in a variable in the adapter structure. |
237 | **/ | 237 | **/ |
238 | void __devinit e1000e_check_options(struct e1000_adapter *adapter) | 238 | void e1000e_check_options(struct e1000_adapter *adapter) |
239 | { | 239 | { |
240 | struct e1000_hw *hw = &adapter->hw; | 240 | struct e1000_hw *hw = &adapter->hw; |
241 | int bd = adapter->bd_number; | 241 | int bd = adapter->bd_number; |