]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/net/eepro.c
[PATCH] Use sg_set_buf/sg_init_one where applicable
[linux-2.6-omap-h63xx.git] / drivers / net / eepro.c
index dcb3028bb60f8d75f73e68ef1d0e32eb7df5ccfb..1ce2c675b8a74d3a39da9f18a9ae6a6118458225 100644 (file)
@@ -1797,10 +1797,9 @@ MODULE_AUTHOR("Pascal Dupuis and others");
 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, NULL, 0);
+module_param_array(irq, int, NULL, 0);
+module_param_array(mem, int, NULL, 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)");