patch-2.4.2 linux/drivers/char/ip2main.c

Next file: linux/drivers/char/istallion.c
Previous file: linux/drivers/char/ip2.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.1/linux/drivers/char/ip2main.c linux/drivers/char/ip2main.c
@@ -50,14 +50,6 @@
 /************/
 #include <linux/config.h>
 // Uncomment the following if you want it compiled with modversions
-#ifdef MODULE
-#	if defined(CONFIG_MODVERSIONS) && !defined(MODVERSIONS)
-#		define MODVERSIONS
-#	endif
-#	ifdef MODVERSIONS
-#		include <linux/modversions.h>
-#	endif
-#endif
 
 #include <linux/version.h>
 
@@ -75,7 +67,7 @@
 #include <linux/interrupt.h>
 #include <linux/pci.h>
 #include <linux/mm.h>
-#include <linux/malloc.h>
+#include <linux/slab.h>
 #include <linux/major.h>
 #include <linux/wait.h>
 

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