linux-watchdog.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] watchdog: Add hardware dependency to BCM7038 driver
@ 2016-02-22 11:11 Jean Delvare
  2016-02-22 14:49 ` Guenter Roeck
  0 siblings, 1 reply; 8+ messages in thread
From: Jean Delvare @ 2016-02-22 11:11 UTC (permalink / raw)
  To: linux-watchdog; +Cc: Justin Chen, Guenter Roeck, Wim Van Sebroeck

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

Signed-off-by: Jean Delvare <jdelvare@suse.de>
Cc: Justin Chen <justinpopo6@gmail.com>
Cc: Guenter Roeck <linux@roeck-us.net>
Cc: Wim Van Sebroeck <wim@iguana.be>
---
 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

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2016-02-24 13:37 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-22 11:11 [PATCH] watchdog: Add hardware dependency to BCM7038 driver Jean Delvare
2016-02-22 14:49 ` Guenter Roeck
2016-02-22 17:58   ` Justin Chen
2016-02-22 18:43     ` Jean Delvare
2016-02-22 19:16       ` Justin Chen
2016-02-23  0:16         ` Guenter Roeck
2016-02-23  0:27           ` Justin Chen
2016-02-24 13:37             ` Jean Delvare

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).