Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4726374f authored by Yegor Yefremov's avatar Yegor Yefremov Committed by Russell King
Browse files

ARM: 5766/1: Fix watchdog enabling for AT91SAM9G45



The macro for the watchdog has been changed from CONFIG_AT91SAM9_WATCHDOG
to CONFIG_AT91SAM9X_WATCHDOG due to AT91CAP9 chips support

Signed-off-by: default avatarYegor Yefremov <yegorslists@googlemail.com>
Acked-by: default avatarAndrew Victor <linux@maxim.org.za>
Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent 8c5b0f9a
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -838,7 +838,7 @@ static void __init at91_add_device_rtt(void)
 *  Watchdog
 *  Watchdog
 * -------------------------------------------------------------------- */
 * -------------------------------------------------------------------- */


#if defined(CONFIG_AT91SAM9_WATCHDOG) || defined(CONFIG_AT91SAM9_WATCHDOG_MODULE)
#if defined(CONFIG_AT91SAM9X_WATCHDOG) || defined(CONFIG_AT91SAM9X_WATCHDOG_MODULE)
static struct platform_device at91sam9g45_wdt_device = {
static struct platform_device at91sam9g45_wdt_device = {
	.name		= "at91_wdt",
	.name		= "at91_wdt",
	.id		= -1,
	.id		= -1,