watchdog: fix dependencies of menz69_wdt.o

Currently menz69_wdt.ko has a dependency on MCB or COMPILE_TEST. But
it actually needs symbols exported by MCB so the || COMPILE_TEST is
wrong.

Signed-off-by: Johannes Thumshirn <jthumshirn@suse.de>
Reported-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
This commit is contained in:
Johannes Thumshirn 2018-08-03 18:35:17 +02:00 committed by Wim Van Sebroeck
parent dc0e4a3bb7
commit 12aea518a2

View File

@ -163,7 +163,7 @@ config MENF21BMC_WATCHDOG
config MENZ069_WATCHDOG
tristate "MEN 16Z069 Watchdog"
depends on MCB || COMPILE_TEST
depends on MCB
select WATCHDOG_CORE
help
Say Y here to include support for the MEN 16Z069 Watchdog.