public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] watchdog: at91rm9200: allow building when using device tree
@ 2014-10-30 14:15 Alexandre Belloni
  2014-10-30 14:36 ` Boris Brezillon
  0 siblings, 1 reply; 6+ messages in thread
From: Alexandre Belloni @ 2014-10-30 14:15 UTC (permalink / raw)
  To: Wim Van Sebroeck, Nicolas Ferre
  Cc: Boris Brezillon, linux-arm-kernel, linux-kernel, linux-watchdog,
	Alexandre Belloni

When building with device tree, ARCH_AT91RM9200 may not be selected. Allow
building that driver by also depending on ARCH_AT91.

Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
---
 drivers/watchdog/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/watchdog/Kconfig b/drivers/watchdog/Kconfig
index e3d5bf0a5021..5445343ff2a1 100644
--- a/drivers/watchdog/Kconfig
+++ b/drivers/watchdog/Kconfig
@@ -144,7 +144,7 @@ config ARM_SP805_WATCHDOG
 
 config AT91RM9200_WATCHDOG
 	tristate "AT91RM9200 watchdog"
-	depends on ARCH_AT91RM9200
+	depends on ARCH_AT91RM9200 || ARCH_AT91
 	help
 	  Watchdog timer embedded into AT91RM9200 chips. This will reboot your
 	  system when the timeout is reached.
-- 
2.1.0


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

end of thread, other threads:[~2014-10-30 16:20 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-30 14:15 [PATCH] watchdog: at91rm9200: allow building when using device tree Alexandre Belloni
2014-10-30 14:36 ` Boris Brezillon
2014-10-30 14:43   ` Arnd Bergmann
2014-10-30 15:17     ` Alexandre Belloni
2014-10-30 15:43       ` Arnd Bergmann
2014-10-30 16:20         ` Alexandre Belloni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox