summaryrefslogtreecommitdiffstats
path: root/drivers/pps/clients
diff options
context:
space:
mode:
authorVincent Legoll <vincent.legoll@gmail.com>2017-04-11 16:26:41 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-05-18 16:59:06 +0200
commit98e959d44bcaac70c3056578122b5ce777ff42f0 (patch)
tree032ddd1fcbcfb65348f6c86bb82fcac14672726b /drivers/pps/clients
parentf4660cc994e12bae60d6f49895636fba662ce0a1 (diff)
downloadlinux-98e959d44bcaac70c3056578122b5ce777ff42f0.tar.bz2
drivers: pps: Make PPS into a menuconfig to ease disabling
So that there's no need to get into the submenu to disable all related config entries. The BROKEN PPS_GENERATOR_PARPORT now also depends on PPS Signed-off-by: Vincent Legoll <vincent.legoll@gmail.com> Acked-by: Rodolfo Giometti <giometti@enneenne.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/pps/clients')
-rw-r--r--drivers/pps/clients/Kconfig6
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/pps/clients/Kconfig b/drivers/pps/clients/Kconfig
index 0c9f2805d076..efec021ce662 100644
--- a/drivers/pps/clients/Kconfig
+++ b/drivers/pps/clients/Kconfig
@@ -2,12 +2,12 @@
# PPS clients configuration
#
-if PPS
-
comment "PPS clients support"
+ depends on PPS
config PPS_CLIENT_KTIMER
tristate "Kernel timer client (Testing client, use for debug)"
+ depends on PPS
help
If you say yes here you get support for a PPS debugging client
which uses a kernel timer to generate the PPS signal.
@@ -37,5 +37,3 @@ config PPS_CLIENT_GPIO
GPIO. To be useful you must also register a platform device
specifying the GPIO pin and other options, usually in your board
setup.
-
-endif