Re: watchdog: indydog: Drop test builds

From: Guenter Roeck
Date: Mon Jan 15 2018 - 22:09:36 EST


On Mon, Jan 15, 2018 at 07:05:50PM -0800, Guenter Roeck wrote:
> Due to changes in MIPS default configuration, mips:allmodconfig fails
> to build with the following error.
>
> ERROR: "sgimc" [drivers/watchdog/indydog.ko] undefined!
> scripts/Makefile.modpost:92: recipe for target '__modpost' failed
>
> Fixes: da2a68b3eb47 ("watchdog: Enable COMPILE_TEST where possible")
> Signed-off-by: Guenter Roeck <linux@xxxxxxxxxxxx>

Never mind. This is already queued in watchdog-next. Sorry for the noise.

Guenter

> ---
> drivers/watchdog/Kconfig | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/watchdog/Kconfig b/drivers/watchdog/Kconfig
> index ca200d1f310a..5a606a4aee6a 100644
> --- a/drivers/watchdog/Kconfig
> +++ b/drivers/watchdog/Kconfig
> @@ -1451,7 +1451,7 @@ config RC32434_WDT
>
> config INDYDOG
> tristate "Indy/I2 Hardware Watchdog"
> - depends on SGI_HAS_INDYDOG || (MIPS && COMPILE_TEST)
> + depends on SGI_HAS_INDYDOG
> help
> Hardware driver for the Indy's/I2's watchdog. This is a
> watchdog timer that will reboot the machine after a 60 second