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
- Lines: 24
- Date:
Fri Feb 16 16:02:35 2001
- Orig file:
v2.4.1/linux/drivers/char/ip2main.c
- Orig date:
Mon Oct 16 12:58:51 2000
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)