|
From: Willy S. <sag...@us...> - 2002-04-11 14:31:13
|
The following file was modified in linux/drivers/char/bluetooth: Name Old version New version Tag Comment ---- ----------- ----------- --- ------- unplug_test.c 1.10 1.11=20=20=20=20=20=20=20=20=20=20=20=20=20=20 The accompanying log: Added version ifdef for malloc.h/slab.h The diff of the modified file(s): --- unplug_test.c 7 Mar 2002 21:32:28 -0000 1.10 +++ unplug_test.c 11 Apr 2002 11:53:22 -0000 1.11 @@ -43,8 +43,11 @@ #define __NO_VERSION__ /* don't define kernel_version in module.h */ =20 #ifdef __KERNEL__ +#if LINUX_VERSION_CODE >=3D 0x20200 +#include <linux/slab.h> +#else #include <linux/malloc.h> - +#endif #include <linux/bluetooth/hci.h> #include <linux/bluetooth/l2cap_con.h> #include <linux/bluetooth/sdp.h> |