aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/e1000e/param.c
diff options
context:
space:
mode:
authorBruce Allan <bruce.w.allan@intel.com>2010-05-10 10:59:10 -0400
committerDavid S. Miller <davem@davemloft.net>2010-05-13 02:31:09 -0400
commit4fe4491fc5578019174d0f02d1ae740fce78deac (patch)
treee04505b8207f2aa65335cd69894a4860f503a03b /drivers/net/e1000e/param.c
parentbf47f4b0babe287f250dd720b41ecad9b8f7ac9b (diff)
e1000e: use static params to save stack space (part 2)
A couple stack cleanups missed in an earlier patch from Jesse. Signed-off-by: Bruce Allan <bruce.w.allan@intel.com> Cc: Jesse Brandeburg <jesse.brandeburg@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/e1000e/param.c')
-rw-r--r--drivers/net/e1000e/param.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/e1000e/param.c b/drivers/net/e1000e/param.c
index 0f4077c3d538..a150e48a117f 100644
--- a/drivers/net/e1000e/param.c
+++ b/drivers/net/e1000e/param.c
@@ -286,7 +286,7 @@ void __devinit e1000e_check_options(struct e1000_adapter *adapter)
286 } 286 }
287 } 287 }
288 { /* Receive Interrupt Delay */ 288 { /* Receive Interrupt Delay */
289 struct e1000_option opt = { 289 static struct e1000_option opt = {
290 .type = range_option, 290 .type = range_option,
291 .name = "Receive Interrupt Delay", 291 .name = "Receive Interrupt Delay",
292 .err = "using default of " 292 .err = "using default of "
@@ -386,7 +386,7 @@ void __devinit e1000e_check_options(struct e1000_adapter *adapter)
386 } 386 }
387 } 387 }
388 { /* Interrupt Mode */ 388 { /* Interrupt Mode */
389 struct e1000_option opt = { 389 static struct e1000_option opt = {
390 .type = range_option, 390 .type = range_option,
391 .name = "Interrupt Mode", 391 .name = "Interrupt Mode",
392 .err = "defaulting to 2 (MSI-X)", 392 .err = "defaulting to 2 (MSI-X)",