watchdog: ts4800: add hardware dependency
authorJean Delvare <jdelvare@suse.de>
Tue, 9 Feb 2016 10:17:48 +0000 (11:17 +0100)
committerWim Van Sebroeck <wim@iguana.be>
Tue, 1 Mar 2016 14:01:25 +0000 (15:01 +0100)
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 <jdelvare@suse.de>
Cc: Damien Riegel <damien.riegel@savoirfairelinux.com>
Cc: Rob Herring <robh@kernel.org>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
drivers/watchdog/Kconfig

index b5f39b7e853d909a889330985e13d78aa6d40ca0..d8108d8ad7479b8baf722e8a3db7c21df5ac2414 100644 (file)
@@ -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