Commit 872dfc41 authored by Andrew Morton's avatar Andrew Morton Committed by Jeff Garzik

[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: default avatarAndrew Morton <akpm@osdl.org>
parent 3fa8f148
......@@ -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)");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment