Fix watchdog enabling for AT91SAM9G45
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 Yegor Yefremov <[email protected]>
arch/arm/mach-at91/at91sam9g45_devices.c +1 -1
@@ -838,7 +838,7 @@ static void __init at91_add_device_rtt(v* 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 = { .name ="at91_wdt" , .id = -1,
Andrew Victor
Acked-byhi Yegor,
Quoted 6 lines
Fix watchdog enabling for AT91SAM9G45
The macro for the watchdog has been changed from
CONFIG_AT91SAM9_WATCHDOGtoCONFIG_AT91SAM9X_WATCHDOGdue to AT91CAP9 chips supportSigned-off-by Yegor Yefremov <[email protected]>
Acked-by Andrew Victor <[email protected]>
Please submit the patch to the patch system.
Regards,
Andrew Victor