diff options
author | Heikki Krogerus <heikki.krogerus@linux.intel.com> | 2013-10-16 12:53:40 +0200 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2013-10-28 15:05:24 +0100 |
commit | f02ae59b1230853693d09a1003075d671f1a6f7d (patch) | |
tree | b9a13836b2fdc6645fd33ac533763b768f1f6150 /net/rfkill/Kconfig | |
parent | net: rfkill: gpio: convert to resource managed allocation (diff) | |
download | linux-f02ae59b1230853693d09a1003075d671f1a6f7d.tar.xz linux-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/Kconfig | 2 |
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 |