aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-at91/at91sam9g45.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-at91/at91sam9g45.c')
-rw-r--r--arch/arm/mach-at91/at91sam9g45.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/arch/arm/mach-at91/at91sam9g45.c b/arch/arm/mach-at91/at91sam9g45.c
index c67b47f1c0fd..024e456b943f 100644
--- a/arch/arm/mach-at91/at91sam9g45.c
+++ b/arch/arm/mach-at91/at91sam9g45.c
@@ -306,11 +306,14 @@ static void at91sam9g45_poweroff(void)
306 * AT91SAM9G45 processor initialization 306 * AT91SAM9G45 processor initialization
307 * -------------------------------------------------------------------- */ 307 * -------------------------------------------------------------------- */
308 308
309void __init at91sam9g45_initialize(unsigned long main_clock) 309void __init at91sam9g45_map_io(void)
310{ 310{
311 /* Map peripherals */ 311 /* Map peripherals */
312 iotable_init(at91sam9g45_io_desc, ARRAY_SIZE(at91sam9g45_io_desc)); 312 iotable_init(at91sam9g45_io_desc, ARRAY_SIZE(at91sam9g45_io_desc));
313}
313 314
315void __init at91sam9g45_initialize(unsigned long main_clock)
316{
314 at91_arch_reset = at91sam9g45_reset; 317 at91_arch_reset = at91sam9g45_reset;
315 pm_power_off = at91sam9g45_poweroff; 318 pm_power_off = at91sam9g45_poweroff;
316 at91_extern_irq = (1 << AT91SAM9G45_ID_IRQ0); 319 at91_extern_irq = (1 << AT91SAM9G45_ID_IRQ0);