|
From: Willy S. <sag...@us...> - 2002-04-11 14:36:28
|
The following file was modified in linux/drivers/char/bluetooth: Name Old version New version Tag Comment ---- ----------- ----------- --- ------- tcs.c 1.15 1.16=20=20=20=20=20=20=20=20=20=20=20=20=20=20 The accompanying log: Added linux version ifdef for malloc.h/slab.h The diff of the modified file(s): --- tcs.c 30 Mar 2001 12:08:45 -0000 1.15 +++ tcs.c 11 Apr 2002 11:50:46 -0000 1.16 @@ -45,7 +45,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/btdebug.h> #include <linux/bluetooth/btcommon.h> #include <linux/bluetooth/btmem.h> |