[PATCH] watchdog: Add hardware dependency to BCM7038 driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The BCM7038 is a MIPS chip so do not present its driver on other
architectures, unless build-testing.

Signed-off-by: Jean Delvare <jdelvare@xxxxxxx>
Cc: Justin Chen <justinpopo6@xxxxxxxxx>
Cc: Guenter Roeck <linux@xxxxxxxxxxxx>
Cc: Wim Van Sebroeck <wim@xxxxxxxxx>
---
 drivers/watchdog/Kconfig |    1 +
 1 file changed, 1 insertion(+)

--- linux-4.5-rc5.orig/drivers/watchdog/Kconfig	2016-02-21 13:44:07.845576963 +0100
+++ linux-4.5-rc5/drivers/watchdog/Kconfig	2016-02-22 12:07:20.865871451 +0100
@@ -1377,6 +1377,7 @@ config BCM7038_WDT
 	tristate "BCM7038 Watchdog"
 	select WATCHDOG_CORE
 	depends on HAS_IOMEM
+	depends on MIPS || COMPILE_TEST
 	help
 	 Watchdog driver for the built-in hardware in Broadcom 7038 SoCs.
 


-- 
Jean Delvare
SUSE L3 Support
--
To unsubscribe from this list: send the line "unsubscribe linux-watchdog" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux