|
From: Peter K. <pk...@us...> - 2001-10-16 14:38:18
|
The following file was modified in linux/drivers/char/bluetooth:
Name Old version New version Comment
---- ----------- ----------- -------
bluetooth.c 1.204 1.205=20=20=20=20=20=20=20=20=20=20=20
The accompanying log:
Make sure KERNEL_VERSION() is defined before using it (thanks
to Alain Paschoud for spotting this).
The diff of the modified file(s):
--- bluetooth.c 2001/10/12 12:03:22 1.204
+++ bluetooth.c 2001/10/16 11:10:14 1.205
@@ -51,6 +51,11 @@
#include <linux/delay.h>
#include <linux/timer.h>
=20
+/* Make sure KERNEL_VERSION() is defined */
+#ifndef KERNEL_VERSION
+#define KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c))
+#endif
+
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,2,18)
# ifdef MODULE
# define module_init(x) int init_module(void) { return x(); }
|