mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-25 16:31:13 +00:00
86265da965
SVN-Revision: 25702
15 lines
329 B
Diff
15 lines
329 B
Diff
--- a/include/compat.h
|
|
+++ b/include/compat.h
|
|
@@ -131,6 +131,11 @@
|
|
#ifdef __KERNEL__
|
|
|
|
#include <linux/version.h>
|
|
+
|
|
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,38)
|
|
+#define AUTOCONF_INCLUDED 1
|
|
+#endif
|
|
+
|
|
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,21)
|
|
#define ATH_REGISTER_SYSCTL_TABLE(t) register_sysctl_table(t, 1)
|
|
#else
|