watchdog: Improve Kconfig entry ordering and dependencies
authorGuenter Roeck <linux@roeck-us.net>
Mon, 29 Apr 2019 19:28:31 +0000 (12:28 -0700)
committerWim Van Sebroeck <wim@linux-watchdog.org>
Sun, 5 May 2019 19:10:36 +0000 (21:10 +0200)
commit345f16251063bcef5828f17fe90aa7f7a5019aab
tree91e728e9db1eecc49dce4e4465b739c494511b2e
parentec24292925384836763618b90f273c456dd3e8fe
watchdog: Improve Kconfig entry ordering and dependencies

HPWDT_NMI_DECODING depends on HP_WATCHDOG and should be next to it.
This helps menuconfig identify HPWDT_NMI_DECODING as depending on
HP_WATCHDOG.

BCM_KONA_WDT_DEBUG depends on BCM_KONA_WDT which depends on COMPILE_TEST.
Enabling BCM_KONA_WDT_DEBUG without BCM_KONA_WDT does not make sense,
so drop the COMPILE_TEST dependency from it. This also improves
menuconfig, which now properly associates BCM_KONA_WDT_DEBUG with
BCM_KONA_WDT.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
drivers/watchdog/Kconfig