Stephen Hemminger wrote:
e100 in net-drivers-2.5-exp won't compile as a module.
Don't think the new module_param() works the way it is being used
in the new e100 driver.
CC [M] drivers/net/e100.o
drivers/net/e100.c:170: error: parse error before "int"
drivers/net/e100.c:170: warning: type defaults to `int' in declaration of
`module_param'
drivers/net/e100.c:170: warning: function declaration isn't a prototype
drivers/net/e100.c:170: warning: data definition has no type or storage class
Thanks, just checked in the attached patch to fix this.
===== drivers/net/e100.c 1.2 vs edited =====
--- 1.2/drivers/net/e100.c Tue Dec 9 15:38:42 2003
+++ edited/drivers/net/e100.c Tue Dec 16 17:35:12 2003
@@ -136,6 +136,7 @@
#include <linux/config.h>
#include <linux/module.h>
+#include <linux/moduleparam.h>
#include <linux/kernel.h>
#include <linux/types.h>
#include <linux/slab.h>
|