e1000 compilation broken in 2.6.10-rc1

From: Ganesh Venkatesan <hidden>
Date: 2004-10-28 21:08:06

Jeff:

e1000/e1000_param.c needs the change below in order to compile correctly 
in 2.6.10-rc1 and beyond.
--- /netdev-2.6/drivers/net/e1000/e1000_param.c	2004-10-28 13:41:22.972953056 -0700
+++ /netdev-2.6.new/drivers/net/e1000/e1000_param.c	2004-10-28 13:41:03.361934384 -0700
@@ -47,7 +47,7 @@
 #define E1000_PARAM(X, desc) \
 	static int __devinitdata X[E1000_MAX_NIC+1] = E1000_PARAM_INIT; \
 	static int num_##X = 0; \
-	module_param_array(X, int, num_##X, 0); \
+	module_param_array(X, int, &num_##X, 0); \
 	MODULE_PARM_DESC(X, desc);
 
 /* Transmit Descriptor Count
thanks,
ganesh.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help