summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-at91/at91sam9261.c
diff options
context:
space:
mode:
authorMaxime Ripard <maxime.ripard@free-electrons.com>2014-09-15 16:02:24 +0200
committerNicolas Ferre <nicolas.ferre@atmel.com>2014-09-15 17:55:47 +0200
commit7d80335e29701e9c2cc55ec0ea79afe6351aa20b (patch)
tree073607658e52b0553db5bda6eb1c2858346d4025 /arch/arm/mach-at91/at91sam9261.c
parentARM: at91: Convert the boards to the init_time callback (diff)
downloadlinux-7d80335e29701e9c2cc55ec0ea79afe6351aa20b.tar.xz
linux-7d80335e29701e9c2cc55ec0ea79afe6351aa20b.zip
ARM: at91: Give the PIT irq as an argument of at91sam926x_pit_init
This allows to remove the dependency of the timer driver on mach/hardware.h and having an hardcoded interrupt number in the driver itself. Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
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 badf20c2cd67..a8bd35963332 100644
--- a/arch/arm/mach-at91/at91sam9261.c
+++ b/arch/arm/mach-at91/at91sam9261.c
@@ -401,7 +401,7 @@ static unsigned int at91sam9261_default_irq_priority[NR_AIC_IRQS] __initdata = {
static void __init at91sam9261_init_time(void)
{
- at91sam926x_pit_init();
+ at91sam926x_pit_init(NR_IRQS_LEGACY + AT91_ID_SYS);
}
AT91_SOC_START(at91sam9261)