aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorIvo van Doorn <IvDoorn@gmail.com>2007-09-13 03:20:42 -0400
committerDavid S. Miller <davem@sunset.davemloft.net>2007-10-10 19:49:23 -0400
commit234a0ca6f1d67ba4c3c3fc8378bbd98d722468e1 (patch)
treea744629408146be683dfbef5c18f1f8bb433f3b7 /include/linux
parent077130c0cf7d5ba1992f5b51b96136d7b1c8aad5 (diff)
[RFKILL]: Remove IRDA
As Dmitry pointed out earlier, rfkill-input.c doesn't support irda because there are no users and we shouldn't add unrequired KEY_ defines. However, RFKILL_TYPE_IRDA was defined in the rfkill.h header file and would confuse people about whether it is implemented or not. This patch removes IRDA support completely, so it can be added whenever a driver wants the feature. Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/rfkill.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/include/linux/rfkill.h b/include/linux/rfkill.h
index a8a6ea809da0..c4546e15c853 100644
--- a/include/linux/rfkill.h
+++ b/include/linux/rfkill.h
@@ -31,13 +31,11 @@
31 * enum rfkill_type - type of rfkill switch. 31 * enum rfkill_type - type of rfkill switch.
32 * RFKILL_TYPE_WLAN: switch is no a Wireless network devices. 32 * RFKILL_TYPE_WLAN: switch is no a Wireless network devices.
33 * RFKILL_TYPE_BlUETOOTH: switch is on a bluetooth device. 33 * RFKILL_TYPE_BlUETOOTH: switch is on a bluetooth device.
34 * RFKILL_TYPE_IRDA: switch is on an infrared devices.
35 */ 34 */
36enum rfkill_type { 35enum rfkill_type {
37 RFKILL_TYPE_WLAN = 0, 36 RFKILL_TYPE_WLAN ,
38 RFKILL_TYPE_BLUETOOTH = 1, 37 RFKILL_TYPE_BLUETOOTH,
39 RFKILL_TYPE_IRDA = 2, 38 RFKILL_TYPE_MAX,
40 RFKILL_TYPE_MAX = 3,
41}; 39};
42 40
43enum rfkill_state { 41enum rfkill_state {