diff options
author | Yegor Yefremov <yegorslists@googlemail.com> | 2009-10-20 03:39:41 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2009-10-21 08:08:14 -0400 |
commit | 4726374fb4cc93472b83765ef786d8093e352afa (patch) | |
tree | d7ad829aa7f93b4721c359d323ec958768277a23 /arch/arm/mach-at91/at91sam9g45_devices.c | |
parent | 8c5b0f9a85cd78e98123417a8e9d58857968ff13 (diff) |
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: Yegor Yefremov <yegorslists@googlemail.com>
Acked-by: Andrew Victor <linux@maxim.org.za>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-at91/at91sam9g45_devices.c')
-rw-r--r-- | arch/arm/mach-at91/at91sam9g45_devices.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-at91/at91sam9g45_devices.c b/arch/arm/mach-at91/at91sam9g45_devices.c index d581cff80c4c..332b784050b2 100644 --- a/arch/arm/mach-at91/at91sam9g45_devices.c +++ b/arch/arm/mach-at91/at91sam9g45_devices.c | |||
@@ -838,7 +838,7 @@ static void __init at91_add_device_rtt(void) | |||
838 | * Watchdog | 838 | * Watchdog |
839 | * -------------------------------------------------------------------- */ | 839 | * -------------------------------------------------------------------- */ |
840 | 840 | ||
841 | #if defined(CONFIG_AT91SAM9_WATCHDOG) || defined(CONFIG_AT91SAM9_WATCHDOG_MODULE) | 841 | #if defined(CONFIG_AT91SAM9X_WATCHDOG) || defined(CONFIG_AT91SAM9X_WATCHDOG_MODULE) |
842 | static struct platform_device at91sam9g45_wdt_device = { | 842 | static struct platform_device at91sam9g45_wdt_device = { |
843 | .name = "at91_wdt", | 843 | .name = "at91_wdt", |
844 | .id = -1, | 844 | .id = -1, |