summaryrefslogtreecommitdiff
path: root/arch/arm/mach-at91/at91sam9261.c
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2013-10-16 18:24:56 +0400
committerDaniel Lezcano <daniel.lezcano@linaro.org>2013-10-17 01:51:36 +0400
commit2d2c476f3c075bd2fdfce479245b2bf4d0879ec6 (patch)
treef7aef34e66d8e450095cb90205c1b8be64087cc0 /arch/arm/mach-at91/at91sam9261.c
parent1ce3c48e6c76920fa46bfdde84a69e155f880c32 (diff)
downloadlinux-2d2c476f3c075bd2fdfce479245b2bf4d0879ec6.tar.xz
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/at91sam9261.c')
-rw-r--r--arch/arm/mach-at91/at91sam9261.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-at91/at91sam9261.c b/arch/arm/mach-at91/at91sam9261.c
index 1edbb6fd4636..a0857c30a914 100644
--- a/arch/arm/mach-at91/at91sam9261.c
+++ b/arch/arm/mach-at91/at91sam9261.c
@@ -295,7 +295,7 @@ static void __init at91sam9261_initialize(void)
/* Register GPIO subsystem */
at91_gpio_init(at91sam9261_gpio, 3);
- at91_pm_set_sandby(at91sam9_standby);
+ at91_pm_set_standby(at91sam9_sdram_standby);
}
/* --------------------------------------------------------------------