From: Jean Delvare Date: Tue, 9 Feb 2016 10:17:48 +0000 (+0100) Subject: watchdog: ts4800: add hardware dependency X-Git-Tag: v5.15~13987^2~26 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0519e91d80148086997aa5f3ab5d15e95151b6b1;p=platform%2Fkernel%2Flinux-starfive.git watchdog: ts4800: add hardware dependency The Technologic Systems TS-4800 is an i.MX515 board, so its drivers are useless unless building a SOC_IMX51 kernel, except for build testing purposes. Signed-off-by: Jean Delvare Cc: Damien Riegel Cc: Rob Herring Signed-off-by: Guenter Roeck Signed-off-by: Wim Van Sebroeck --- diff --git a/drivers/watchdog/Kconfig b/drivers/watchdog/Kconfig index b5f39b7..d8108d8 100644 --- a/drivers/watchdog/Kconfig +++ b/drivers/watchdog/Kconfig @@ -468,6 +468,7 @@ config NUC900_WATCHDOG config TS4800_WATCHDOG tristate "TS-4800 Watchdog" depends on HAS_IOMEM && OF + depends on SOC_IMX51 || COMPILE_TEST select WATCHDOG_CORE select MFD_SYSCON help