aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/ixgb/ixgb_param.c
diff options
context:
space:
mode:
authorBill Pemberton <wfp5p@virginia.edu>2012-12-03 09:24:25 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-12-03 14:17:07 -0500
commit9f9a12f8ca79839c948464a37c5b557808278708 (patch)
tree133a5c18268d8154e3fdb753f1f4049293cdb0d1 /drivers/net/ethernet/intel/ixgb/ixgb_param.c
parent0329aba13791ec256dacdfdc74eca8673f6dd2e8 (diff)
net/intel: 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: Jeff Kirsher <jeffrey.t.kirsher@intel.com> Cc: Jesse Brandeburg <jesse.brandeburg@intel.com> Cc: Bruce Allan <bruce.w.allan@intel.com> Cc: Carolyn Wyborny <carolyn.wyborny@intel.com> Cc: Don Skidmore <donald.c.skidmore@intel.com> Cc: Greg Rose <gregory.v.rose@intel.com> Cc: Peter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com> Cc: Alex Duyck <alexander.h.duyck@intel.com> Cc: John Ronciak <john.ronciak@intel.com> Cc: Tushar Dave <tushar.n.dave@intel.com> Cc: e1000-devel@lists.sourceforge.net Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/net/ethernet/intel/ixgb/ixgb_param.c')
-rw-r--r--drivers/net/ethernet/intel/ixgb/ixgb_param.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/ethernet/intel/ixgb/ixgb_param.c b/drivers/net/ethernet/intel/ixgb/ixgb_param.c
index 07d83ab46e21..04a60640ddda 100644
--- a/drivers/net/ethernet/intel/ixgb/ixgb_param.c
+++ b/drivers/net/ethernet/intel/ixgb/ixgb_param.c
@@ -47,7 +47,7 @@
47 47
48#define IXGB_PARAM_INIT { [0 ... IXGB_MAX_NIC] = OPTION_UNSET } 48#define IXGB_PARAM_INIT { [0 ... IXGB_MAX_NIC] = OPTION_UNSET }
49#define IXGB_PARAM(X, desc) \ 49#define IXGB_PARAM(X, desc) \
50 static int __devinitdata X[IXGB_MAX_NIC+1] \ 50 static int X[IXGB_MAX_NIC+1] \
51 = IXGB_PARAM_INIT; \ 51 = IXGB_PARAM_INIT; \
52 static unsigned int num_##X = 0; \ 52 static unsigned int num_##X = 0; \
53 module_param_array_named(X, X, int, &num_##X, 0); \ 53 module_param_array_named(X, X, int, &num_##X, 0); \
@@ -199,7 +199,7 @@ struct ixgb_option {
199 } arg; 199 } arg;
200}; 200};
201 201
202static int __devinit 202static int
203ixgb_validate_option(unsigned int *value, const struct ixgb_option *opt) 203ixgb_validate_option(unsigned int *value, const struct ixgb_option *opt)
204{ 204{
205 if (*value == OPTION_UNSET) { 205 if (*value == OPTION_UNSET) {
@@ -257,7 +257,7 @@ ixgb_validate_option(unsigned int *value, const struct ixgb_option *opt)
257 * in a variable in the adapter structure. 257 * in a variable in the adapter structure.
258 **/ 258 **/
259 259
260void __devinit 260void
261ixgb_check_options(struct ixgb_adapter *adapter) 261ixgb_check_options(struct ixgb_adapter *adapter)
262{ 262{
263 int bd = adapter->bd_number; 263 int bd = adapter->bd_number;