aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/rfkill.h
diff options
context:
space:
mode:
authorIvo van Doorn <IvDoorn@gmail.com>2007-09-13 09:20:42 +0200
committerDavid S. Miller <davem@sunset.davemloft.net>2007-10-10 16:49:23 -0700
commit234a0ca6f1d67ba4c3c3fc8378bbd98d722468e1 (patch)
treea744629408146be683dfbef5c18f1f8bb433f3b7 /include/linux/rfkill.h
parent[NET]: Fix race when opening a proc file while a network namespace is exiting. (diff)
downloadlinux-dev-234a0ca6f1d67ba4c3c3fc8378bbd98d722468e1.tar.xz
linux-dev-234a0ca6f1d67ba4c3c3fc8378bbd98d722468e1.zip
[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/rfkill.h')
-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 @@
* enum rfkill_type - type of rfkill switch.
* RFKILL_TYPE_WLAN: switch is no a Wireless network devices.
* RFKILL_TYPE_BlUETOOTH: switch is on a bluetooth device.
- * RFKILL_TYPE_IRDA: switch is on an infrared devices.
*/
enum rfkill_type {
- RFKILL_TYPE_WLAN = 0,
- RFKILL_TYPE_BLUETOOTH = 1,
- RFKILL_TYPE_IRDA = 2,
- RFKILL_TYPE_MAX = 3,
+ RFKILL_TYPE_WLAN ,
+ RFKILL_TYPE_BLUETOOTH,
+ RFKILL_TYPE_MAX,
};
enum rfkill_state {