aboutsummaryrefslogtreecommitdiffstats
path: root/net/rfkill/Kconfig
diff options
context:
space:
mode:
authorHeikki Krogerus <heikki.krogerus@linux.intel.com>2013-10-16 13:53:40 +0300
committerJohannes Berg <johannes.berg@intel.com>2013-10-28 15:05:24 +0100
commitf02ae59b1230853693d09a1003075d671f1a6f7d (patch)
treeb9a13836b2fdc6645fd33ac533763b768f1f6150 /net/rfkill/Kconfig
parentnet: rfkill: gpio: convert to resource managed allocation (diff)
downloadlinux-dev-f02ae59b1230853693d09a1003075d671f1a6f7d.tar.xz
linux-dev-f02ae59b1230853693d09a1003075d671f1a6f7d.zip
net: rfkill: gpio: clean up clock handling
Use a simple flag to see the state of the clock, and make the clock available even without a name. Also, get rid of HAVE_CLK dependency. Signed-off-by: Heikki Krogerus <heikki.krogerus@linux.intel.com> Acked-by: Rhyland Klein <rklein@nvidia.com> Reviewed-by: Mika Westerberg <mika.westerberg@linux.intel.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/rfkill/Kconfig')
-rw-r--r--net/rfkill/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/rfkill/Kconfig b/net/rfkill/Kconfig
index 78efe895b663..4c10e7e6c9f6 100644
--- a/net/rfkill/Kconfig
+++ b/net/rfkill/Kconfig
@@ -36,7 +36,7 @@ config RFKILL_REGULATOR
config RFKILL_GPIO
tristate "GPIO RFKILL driver"
- depends on RFKILL && GPIOLIB && HAVE_CLK
+ depends on RFKILL && GPIOLIB
default n
help
If you say yes here you get support of a generic gpio RFKILL