[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>
This commit is contained in:

committed by
David S. Miller

parent
077130c0cf
commit
234a0ca6f1
@@ -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 {
|
||||
|
Reference in New Issue
Block a user