]> git.baikalelectronics.ru Git - kernel.git/commit
staging: board: Add support for translating hwirq to virq numbers
authorGeert Uytterhoeven <geert+renesas@glider.be>
Wed, 17 Jun 2015 08:38:52 +0000 (10:38 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 18 Jun 2015 04:42:51 +0000 (21:42 -0700)
commitb3e2ea267507a87d8e6e24b2276b22676134653b
tree24a95465485463aee30f985b4170d4aa7ce8173e
parent4a098d6849b3995ff11d2c464bd14119082d6844
staging: board: Add support for translating hwirq to virq numbers

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

Add support for translating hardware IRQ numbers to virtual IRQ numbers,
and fixing up platform device resources with hardcoded IRQ numbers.

Add a copyright header, including the original author.

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/board.c
drivers/staging/board/board.h