aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2013-04-30 18:28:30 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2013-04-30 20:04:08 -0400
commit1a0f39997caf3e1edc7e5b7da168b91c32760ccb (patch)
treecd0292894cb9c6819c7be2d02027059f3d05381d
parent60abc786dd3b5d6917d63fd789c9fed772f65039 (diff)
pps: hide more configuration symbols behind CONFIG_PPS
Make CONFIG_PPS_DEBUG and CONFIG_NTP_PPS be hidden if CONFIG_PPS is not selected, so that we are not prompted for these configuration options if CONFIG_PPS is not set. Signed-off-by: Florian Fainelli <florian@openwrt.org> Cc: Rodolfo Giometti <giometti@enneenne.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r--drivers/pps/Kconfig6
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/pps/Kconfig b/drivers/pps/Kconfig
index 982d16b5a846..7512e98e9311 100644
--- a/drivers/pps/Kconfig
+++ b/drivers/pps/Kconfig
@@ -20,10 +20,10 @@ config PPS
20 20
21 To compile this driver as a module, choose M here: the module 21 To compile this driver as a module, choose M here: the module
22 will be called pps_core.ko. 22 will be called pps_core.ko.
23if PPS
23 24
24config PPS_DEBUG 25config PPS_DEBUG
25 bool "PPS debugging messages" 26 bool "PPS debugging messages"
26 depends on PPS
27 help 27 help
28 Say Y here if you want the PPS support to produce a bunch of debug 28 Say Y here if you want the PPS support to produce a bunch of debug
29 messages to the system log. Select this if you are having a 29 messages to the system log. Select this if you are having a
@@ -31,13 +31,15 @@ config PPS_DEBUG
31 31
32config NTP_PPS 32config NTP_PPS
33 bool "PPS kernel consumer support" 33 bool "PPS kernel consumer support"
34 depends on PPS && !NO_HZ 34 depends on !NO_HZ
35 help 35 help
36 This option adds support for direct in-kernel time 36 This option adds support for direct in-kernel time
37 synchronization using an external PPS signal. 37 synchronization using an external PPS signal.
38 38
39 It doesn't work on tickless systems at the moment. 39 It doesn't work on tickless systems at the moment.
40 40
41endif
42
41source drivers/pps/clients/Kconfig 43source drivers/pps/clients/Kconfig
42 44
43source drivers/pps/generators/Kconfig 45source drivers/pps/generators/Kconfig