ARM: sirf: fix prima2 interrupt lookup
authorArnd Bergmann <arnd@arndb.de>
Tue, 19 Mar 2013 14:31:08 +0000 (15:31 +0100)
committerArnd Bergmann <arnd@arndb.de>
Mon, 25 Mar 2013 11:25:41 +0000 (12:25 +0100)
commit67d71344fd09223820eb9de39b597ec29f035e89
treec4c49ff1d1879d2fa006a22cef4edaf3adb20ece
parentb426476a5c55a3fa2747810f616e395b31ff029e
ARM: sirf: fix prima2 interrupt lookup

We must not read the interrupts property manually but instead
use irq_of_parse_and_map() to guarantee that we get the correct
interrupt number once we stop using the legacy IRQ domain.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Tested-by: Barry Song <Baohua.Song@csr.com>
arch/arm/mach-prima2/timer-prima2.c