summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-at91/at91sam9rl.c
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2013-10-16 16:24:56 +0200
committerDaniel Lezcano <daniel.lezcano@linaro.org>2013-10-16 23:51:36 +0200
commit2d2c476f3c075bd2fdfce479245b2bf4d0879ec6 (patch)
treef7aef34e66d8e450095cb90205c1b8be64087cc0 /arch/arm/mach-at91/at91sam9rl.c
parent1ce3c48e6c76920fa46bfdde84a69e155f880c32 (diff)
ARM: AT91: pm: Factorize standby function
Detect presence of second bank. So we do not need to have on function per SoC Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Cc: Nicolas Ferre <nicolas.ferre@atmel.com> Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com> Acked-by: Daniel Lezcano <daniel.lezcano@linaro.org> Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Diffstat (limited to 'arch/arm/mach-at91/at91sam9rl.c')
-rw-r--r--arch/arm/mach-at91/at91sam9rl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-at91/at91sam9rl.c b/arch/arm/mach-at91/at91sam9rl.c
index c7986e4f4e0..9e28f419f41 100644
--- a/arch/arm/mach-at91/at91sam9rl.c
+++ b/arch/arm/mach-at91/at91sam9rl.c
@@ -298,7 +298,7 @@ static void __init at91sam9rl_initialize(void)
/* Register GPIO subsystem */
at91_gpio_init(at91sam9rl_gpio, 4);
- at91_pm_set_standby(at91sam9_standby);
+ at91_pm_set_standby(at91sam9_sdram_standby);
}
/* --------------------------------------------------------------------