summaryrefslogtreecommitdiff
path: root/arch/arm/mach-at91/spl.c
diff options
context:
space:
mode:
authorPrasanthi Chellakumar <Prasanthi.Chellakumar@microchip.com>2018-10-09 11:46:40 -0700
committerTom Rini <trini@konsulko.com>2018-11-16 13:34:34 -0500
commit1473f6ac882fde8078826ca828aa3494ff98bf08 (patch)
tree4eb5772d7cdf5113ba64e6c25a20594d6c1bc366 /arch/arm/mach-at91/spl.c
parenteb13dddd2c0cf7e02f3cc52f783af332a64a63d2 (diff)
arm: at91: wdt: Convert watchdog driver to dm/dt
Convert the Watchdog driver for AT91SAM9x processors to support the driver model and device tree. Changes "CONFIG_AT91SAM9_WATCHDOG" to new "CONFIG_WDT_AT91" Kconfig option. Signed-off-by: Prasanthi Chellakumar <prasanthi.chellakumar@microchip.com>
Diffstat (limited to 'arch/arm/mach-at91/spl.c')
-rw-r--r--arch/arm/mach-at91/spl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-at91/spl.c b/arch/arm/mach-at91/spl.c
index 8bfb2a452b..6da6d41be2 100644
--- a/arch/arm/mach-at91/spl.c
+++ b/arch/arm/mach-at91/spl.c
@@ -11,7 +11,7 @@
#include <asm/arch/clk.h>
#include <spl.h>
-#if !defined(CONFIG_AT91SAM9_WATCHDOG)
+#if !defined(CONFIG_WDT_AT91)
void at91_disable_wdt(void)
{
struct at91_wdt *wdt = (struct at91_wdt *)ATMEL_BASE_WDT;