466-2.6.38_compile.patch 329 B

1234567891011121314
  1. --- a/include/compat.h
  2. +++ b/include/compat.h
  3. @@ -131,6 +131,11 @@
  4. #ifdef __KERNEL__
  5. #include <linux/version.h>
  6. +
  7. +#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,38)
  8. +#define AUTOCONF_INCLUDED 1
  9. +#endif
  10. +
  11. #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,21)
  12. #define ATH_REGISTER_SYSCTL_TABLE(t) register_sysctl_table(t, 1)
  13. #else