diff options
author | Prasanthi Chellakumar <Prasanthi.Chellakumar@microchip.com> | 2018-10-09 11:46:40 -0700 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2018-11-16 13:34:34 -0500 |
commit | 1473f6ac882fde8078826ca828aa3494ff98bf08 (patch) | |
tree | 4eb5772d7cdf5113ba64e6c25a20594d6c1bc366 /arch/arm/mach-at91/spl.c | |
parent | eb13dddd2c0cf7e02f3cc52f783af332a64a63d2 (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.c | 2 |
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; |