bcm53xx: backport bcm47xx_wdt changes to 3.18 to use this driver in future
[openwrt/openwrt.git] / target / linux / bcm53xx / patches-3.18 / 081-watchdog-bcm47xx_wdt.c-allow-enabling-on-BCM5301X-ar.patch
1 From b08c144e3a1089cdb725e393fa4f68f83a73e31b Mon Sep 17 00:00:00 2001
2 From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <zajec5@gmail.com>
3 Date: Sat, 7 Feb 2015 18:04:10 +0100
4 Subject: [PATCH] watchdog: bcm47xx_wdt.c: allow enabling on BCM5301X arch
5 MIME-Version: 1.0
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
8
9 BCM5301X (ARCH_BCM_5301X) is a new Broadcom architecture using the same
10 SoC bus driver (bcma) as BCM47XX but based on ARM instead of MIPS.
11
12 Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
13 Reviewed-by: Guenter Roeck <linux@roeck-us.net>
14 Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
15 ---
16 drivers/watchdog/Kconfig | 2 +-
17 1 file changed, 1 insertion(+), 1 deletion(-)
18
19 diff --git a/drivers/watchdog/Kconfig b/drivers/watchdog/Kconfig
20 index 2aaef7b..ca6c949 100644
21 --- a/drivers/watchdog/Kconfig
22 +++ b/drivers/watchdog/Kconfig
23 @@ -1113,7 +1113,7 @@ config ATH79_WDT
24
25 config BCM47XX_WDT
26 tristate "Broadcom BCM47xx Watchdog Timer"
27 - depends on BCM47XX
28 + depends on BCM47XX || ARCH_BCM_5301X
29 select WATCHDOG_CORE
30 help
31 Hardware driver for the Broadcom BCM47xx Watchdog Timer.
32 --
33 1.8.4.5
34