ARM: at91: fix rtc-at91sam9 irq issue due to sparse irq support
authorLudovic Desroches <ludovic.desroches@atmel.com>
Tue, 14 Aug 2012 09:19:22 +0000 (11:19 +0200)
committerNicolas Ferre <nicolas.ferre@atmel.com>
Thu, 23 Aug 2012 12:55:45 +0000 (14:55 +0200)
commite402af6caa02f12ad213af2e22aa8a32970f99b0
tree1ee6b4dc1f0e594d007f53105921880edcf793c6
parent85ebea12f59e3341049a9c17edcb73fcf21043db
ARM: at91: fix rtc-at91sam9 irq issue due to sparse irq support

AT91_ID_SYS as virq is incorrect because of spare irq support which
introduces NR_IRQS_LEGACY offset. It modifies rtc-at91sam9 driver in
order to get irq from resources.

Signed-off-by: Ludovic Desroches <ludovic.desroches@atmel.com>
Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
arch/arm/mach-at91/at91sam9260_devices.c
arch/arm/mach-at91/at91sam9261_devices.c
arch/arm/mach-at91/at91sam9263_devices.c
arch/arm/mach-at91/at91sam9g45_devices.c
arch/arm/mach-at91/at91sam9rl_devices.c
drivers/rtc/rtc-at91sam9.c