aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorAndrew Morton <akpm@osdl.org>2005-01-11 14:20:57 -0500
committerJeff Garzik <jgarzik@pobox.com>2005-01-11 14:20:57 -0500
commit872dfc4126a62f8d42be393673505caae4d2d52d (patch)
treeccf5936be88bf13966f34eef1af043210bb37a84 /drivers
parent3fa8f1488ea6c7d34f59f88b3805efd47cc1be4d (diff)
downloadhistory-872dfc4126a62f8d42be393673505caae4d2d52d.tar.gz
[PATCH] eepro build fix
drivers/net/eepro.c:1799: initializer element is not constant drivers/net/eepro.c:1799: (near initialization for `__param_arr_io.num') drivers/net/eepro.c:1800: initializer element is not constant drivers/net/eepro.c:1800: (near initialization for `__param_arr_irq.num') drivers/net/eepro.c:1801: initializer element is not constant drivers/net/eepro.c:1801: (near initialization for `__param_arr_mem.num') Signed-off-by: Andrew Morton <akpm@osdl.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/eepro.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/eepro.c b/drivers/net/eepro.c
index 557562c5b27927..cd247568302770 100644
--- a/drivers/net/eepro.c
+++ b/drivers/net/eepro.c
@@ -1796,9 +1796,9 @@ MODULE_DESCRIPTION("Intel i82595 ISA EtherExpressPro10/10+ driver");
MODULE_LICENSE("GPL");
static int num_params;
-module_param_array(io, int, num_params, 0);
-module_param_array(irq, int, num_params, 0);
-module_param_array(mem, int, num_params, 0);
+module_param_array(io, int, &num_params, 0);
+module_param_array(irq, int, &num_params, 0);
+module_param_array(mem, int, &num_params, 0);
module_param(autodetect, int, 0);
MODULE_PARM_DESC(io, "EtherExpress Pro/10 I/O base addres(es)");
MODULE_PARM_DESC(irq, "EtherExpress Pro/10 IRQ number(s)");