summaryrefslogtreecommitdiff
path: root/net/rfkill/Kconfig
diff options
context:
space:
mode:
authorAntonio Ospite <ospite@studenti.unina.it>2011-04-13 23:40:45 +0400
committerJohn W. Linville <linville@tuxdriver.com>2011-04-19 23:38:02 +0400
commitcbc6a6ed0900aed789b5ca77192845f2f987af70 (patch)
treed7aa6e267e34417a857121de210ffd47f8e0eb2a /net/rfkill/Kconfig
parentbb411b4db2767cfd4a99b3328da843ce4ea1596a (diff)
downloadlinux-cbc6a6ed0900aed789b5ca77192845f2f987af70.tar.xz
rfkill: Regulator consumer driver for rfkill
Add a regulator consumer driver for rfkill to enable controlling radio transmitters connected to voltage regulators using the regulator framework. A new "vrfkill" virtual supply is provided to use in platform code. Signed-off-by: Guiming Zhuo <gmzhuo@gmail.com> Signed-off-by: Antonio Ospite <ospite@studenti.unina.it> Reviewed-by: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/rfkill/Kconfig')
-rw-r--r--net/rfkill/Kconfig11
1 files changed, 11 insertions, 0 deletions
diff --git a/net/rfkill/Kconfig b/net/rfkill/Kconfig
index 7fce6dfd2180..48464ca13b24 100644
--- a/net/rfkill/Kconfig
+++ b/net/rfkill/Kconfig
@@ -22,3 +22,14 @@ config RFKILL_INPUT
depends on RFKILL
depends on INPUT = y || RFKILL = INPUT
default y if !EXPERT
+
+config RFKILL_REGULATOR
+ tristate "Generic rfkill regulator driver"
+ depends on RFKILL || !RFKILL
+ depends on REGULATOR
+ help
+ This options enable controlling radio transmitters connected to
+ voltage regulator using the regulator framework.
+
+ To compile this driver as a module, choose M here: the module will
+ be called rfkill-regulator.