[RFKILL]: Add support for hardware-only rfkill buttons
authorMichael Buesch <mb@bu3sch.de>
Thu, 27 Sep 2007 19:34:23 +0000 (21:34 +0200)
committerDavid S. Miller <davem@sunset.davemloft.net>
Wed, 10 Oct 2007 23:54:11 +0000 (16:54 -0700)
commit20405c08412a4d89357870d7220f9fb1c458b286
tree971dbbd3a2339eeef5ec7a89057cf6ca20af535d
parent135900c182c321a4888ec496b014e6707272faca
[RFKILL]: Add support for hardware-only rfkill buttons

Buttons that work directly on hardware cannot support
the "user_claim" functionality. Add a flag to signal
this and return -EOPNOTSUPP in this case.
b43 is such a device.

Signed-off-by: Michael Buesch <mb@bu3sch.de>
Acked-by: Ivo van Doorn <IvDoorn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/rfkill.h
net/rfkill/rfkill.c