Skip to content

Commit

Permalink
pps: hide more configuration symbols behind CONFIG_PPS
Browse files Browse the repository at this point in the history
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 <[email protected]>
Cc: Rodolfo Giometti <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
ffainelli authored and torvalds committed May 1, 2013
1 parent 60abc78 commit 1a0f399
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions drivers/pps/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -20,24 +20,26 @@ 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
problem with PPS support and want to see more of what is going on.

config NTP_PPS
bool "PPS kernel consumer support"
depends on PPS && !NO_HZ
depends on !NO_HZ
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
Expand Down

0 comments on commit 1a0f399

Please sign in to comment.