Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Florian Fainelli and committed by
Linus Torvalds
1a0f3999 60abc786

+4 -2
+4 -2
drivers/pps/Kconfig
··· 20 20 21 21 To compile this driver as a module, choose M here: the module 22 22 will be called pps_core.ko. 23 + if PPS 23 24 24 25 config PPS_DEBUG 25 26 bool "PPS debugging messages" 26 - depends on PPS 27 27 help 28 28 Say Y here if you want the PPS support to produce a bunch of debug 29 29 messages to the system log. Select this if you are having a ··· 31 31 32 32 config NTP_PPS 33 33 bool "PPS kernel consumer support" 34 - depends on PPS && !NO_HZ 34 + depends on !NO_HZ 35 35 help 36 36 This option adds support for direct in-kernel time 37 37 synchronization using an external PPS signal. 38 38 39 39 It doesn't work on tickless systems at the moment. 40 + 41 + endif 40 42 41 43 source drivers/pps/clients/Kconfig 42 44