staging: board: kzm9d: Translate hwirq numbers to virq numbers
authorGeert Uytterhoeven <geert+renesas@glider.be>
Wed, 17 Jun 2015 08:38:53 +0000 (10:38 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 18 Jun 2015 04:42:51 +0000 (21:42 -0700)
commita85890883e18d9b1ab6e500584ee5a4db7d1e39f
treef46db79e7d0848d63955627e9672052294c069f0
parent72ee8626eeb121587d2e3a57d06611d2e0c3cc1b
staging: board: kzm9d: Translate hwirq numbers to virq numbers

As of commit 9a1091ef0017c40a ("irqchip: gic: Support hierarchy irq
domain."), GIC IRQ numbers are virtual, breaking hardcoded hardware IRQ
numbers in platform device resources.

Translate the hardware IRQ numbers to virtual IRQ numbers to fix this.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Acked-by: Simon Horman <horms+renesas@verge.net.au>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/board/kzm9d.c