patch-2.3.27 linux/drivers/net/seeq8005.c

Next file: linux/drivers/net/setup.c
Previous file: linux/drivers/net/rtl8139.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.26/linux/drivers/net/seeq8005.c linux/drivers/net/seeq8005.c
@@ -30,6 +30,7 @@
   	0.48	Receive working
 */
 
+#include <linux/module.h>
 #include <linux/kernel.h>
 #include <linux/sched.h>
 #include <linux/types.h>
@@ -780,7 +781,7 @@
 	/*
 	 *	If we don't do this, we can't re-insmod it later.
 	 */
-	release_region(dev_seeq.base_addr, EL1_IO_EXTENT);
+	release_region(dev_seeq.base_addr, SEEQ8005_IO_EXTENT);
 }
 
 #endif /* MODULE */

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)