summaryrefslogtreecommitdiff
path: root/drivers/pps/Kconfig
diff options
context:
space:
mode:
authorVincent Legoll <vincent.legoll@gmail.com>2017-04-11 17:26:41 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-05-18 17:59:06 +0300
commit98e959d44bcaac70c3056578122b5ce777ff42f0 (patch)
tree032ddd1fcbcfb65348f6c86bb82fcac14672726b /drivers/pps/Kconfig
parentf4660cc994e12bae60d6f49895636fba662ce0a1 (diff)
downloadlinux-98e959d44bcaac70c3056578122b5ce777ff42f0.tar.xz
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/Kconfig')
-rw-r--r--drivers/pps/Kconfig12
1 files changed, 3 insertions, 9 deletions
diff --git a/drivers/pps/Kconfig b/drivers/pps/Kconfig
index 564a51abeece..4b29a7182d7b 100644
--- a/drivers/pps/Kconfig
+++ b/drivers/pps/Kconfig
@@ -2,9 +2,7 @@
# PPS support configuration
#
-menu "PPS support"
-
-config PPS
+menuconfig PPS
tristate "PPS support"
---help---
PPS (Pulse Per Second) is a special pulse provided by some GPS
@@ -20,10 +18,10 @@ config PPS
To compile this driver as a module, choose M here: the module
will be called pps_core.ko.
-if PPS
config PPS_DEBUG
bool "PPS debugging messages"
+ depends on PPS
help
Say Y here if you want the PPS support to produce a bunch of debug
messages to the system log. Select this if you are having a
@@ -31,17 +29,13 @@ config PPS_DEBUG
config NTP_PPS
bool "PPS kernel consumer support"
- depends on !NO_HZ_COMMON
+ depends on PPS && !NO_HZ_COMMON
help
This option adds support for direct in-kernel time
synchronization using an external PPS signal.
It doesn't work on tickless systems at the moment.
-endif
-
source drivers/pps/clients/Kconfig
source drivers/pps/generators/Kconfig
-
-endmenu