Skip to contentSkip to conversation

compat: define KEY_RFKILL, which appeared in Linux 2.6.33

PATCH Applied Pavel Roskin 2 participants 2 messages Mar 5, 2010

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 compat: define KEY_RFKILL, which appeared in Linux 2.6.33

It is used in net/rfkill/input.c

---
 include/linux/compat-2.6.33.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
include/linux/compat-2.6.33.h +2 -0
index 9559f21..70e5f98 100644
@@ -49,6 +49,8 @@ static inline void compat_release_firmware(const struct firmware *fw)
 }
 #endif
 
+#define KEY_RFKILL		247	/* Key that controls all radios */
+
 #define IFF_DONT_BRIDGE 0x800		/* disallow bridging this ether dev */
 /* source: include/linux/if.h */