010-disable_rfkill.patch 380 B

123456789101112131415
  1. --- a/backport-include/linux/rfkill.h
  2. +++ b/backport-include/linux/rfkill.h
  3. @@ -2,6 +2,12 @@
  4. #define __COMPAT_RFKILL_H
  5. #include <linux/version.h>
  6. +#undef CONFIG_RFKILL
  7. +#undef CONFIG_RFKILL_FULL
  8. +#undef CONFIG_RFKILL_LEDS
  9. +#undef CONFIG_RFKILL_MODULE
  10. +#undef CONFIG_RFKILL_FULL_MODULE
  11. +
  12. #if LINUX_VERSION_CODE >= KERNEL_VERSION(3,10,0)
  13. #include_next <linux/rfkill.h>
  14. #else