The following file was modified in linux/drivers/char/bluetooth:
Name Old version New version Tag Comment
---- ----------- ----------- --- -------
hci_sec.c 1.2 1.3=20=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):
--- hci_sec.c 28 Feb 2002 20:12:15 -0000 1.2
+++ hci_sec.c 11 Apr 2002 10:16:01 -0000 1.3
@@ -44,7 +44,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/bluetooth.h>
#include <linux/bluetooth/l2cap.h>
#include <linux/bluetooth/rfcomm.h>
|