aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/mac80211/patches/build/010-disable_rfkill.patch
blob: d5253063ce94f54faa73be072f617e776e3c4fa5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- a/backport-include/linux/rfkill.h
+++ b/backport-include/linux/rfkill.h
@@ -2,6 +2,12 @@
 #define __COMPAT_RFKILL_H
 #include <linux/version.h>
 
+#undef CONFIG_RFKILL
+#undef CONFIG_RFKILL_FULL
+#undef CONFIG_RFKILL_LEDS
+#undef CONFIG_RFKILL_MODULE
+#undef CONFIG_RFKILL_FULL_MODULE
+
 #if LINUX_VERSION_IS_GEQ(3,10,0)
 #include_next <linux/rfkill.h>
 #else