summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-at91/at91sam9g45.c
diff options
context:
space:
mode:
authorAlexandre Belloni <alexandre.belloni@free-electrons.com>2015-01-15 15:59:28 +0100
committerNicolas Ferre <nicolas.ferre@atmel.com>2015-01-16 18:08:41 +0100
commit14efc54a9470e63ce004ae17e9512f4b3953a2fe (patch)
tree910458f694d217e16605a37ac01107582f285db2 /arch/arm/mach-at91/at91sam9g45.c
parent4db0ba22da9f4406c292a6a6110eeb2edd12f16a (diff)
downloadlinux-stable-14efc54a9470e63ce004ae17e9512f4b3953a2fe.tar.gz
linux-stable-14efc54a9470e63ce004ae17e9512f4b3953a2fe.tar.bz2
linux-stable-14efc54a9470e63ce004ae17e9512f4b3953a2fe.zip
ARM: at91: remove useless map_io
Now that the SRAM is initialized by the mmio-sram driver, .map_io is useless. remove it. Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com> Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Diffstat (limited to 'arch/arm/mach-at91/at91sam9g45.c')
-rw-r--r--arch/arm/mach-at91/at91sam9g45.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/arch/arm/mach-at91/at91sam9g45.c b/arch/arm/mach-at91/at91sam9g45.c
index 000166777a8d..d0493df40a13 100644
--- a/arch/arm/mach-at91/at91sam9g45.c
+++ b/arch/arm/mach-at91/at91sam9g45.c
@@ -19,18 +19,11 @@
/* --------------------------------------------------------------------
* AT91SAM9G45 processor initialization
* -------------------------------------------------------------------- */
-
-static void __init at91sam9g45_map_io(void)
-{
- at91_init_sram(0, AT91SAM9G45_SRAM_BASE, AT91SAM9G45_SRAM_SIZE);
-}
-
static void __init at91sam9g45_initialize(void)
{
arm_pm_idle = at91sam9_idle;
}
AT91_SOC_START(at91sam9g45)
- .map_io = at91sam9g45_map_io,
.init = at91sam9g45_initialize,
AT91_SOC_END