]> git.karo-electronics.de Git - mv-sheeva.git/commit
ARM: 7300/1: realview: fix definition of GPIO0 interrupt on PB1176 to match TRM
authorWill Deacon <will.deacon@arm.com>
Wed, 25 Jan 2012 10:36:33 +0000 (11:36 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 25 Jan 2012 11:01:45 +0000 (11:01 +0000)
commitdffcb9c5f854b485a07a3620eba4e560c77b0032
tree8dbbebd0c4dc437e664b194a9d350d40c4eab571
parentdcd6c92267155e70a94b3927bce681ce74b80d1f
ARM: 7300/1: realview: fix definition of GPIO0 interrupt on PB1176 to match TRM

Currently, -1 is used as the GPIO0 interrupt on realview PB1176 and an
AMBA device is registered with this parameter. With the pending NO_IRQ
cleanup, this will lead to a warning at boot time, since -1 is obviously
broken.

This patch updates the interrupt used for GPIO0 to match that specified
by the TRM. Unfortunately, it's not clear how to trigger this interrupt
so we trust that the documentation is correct.

Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-realview/include/mach/irqs-pb1176.h
arch/arm/mach-realview/realview_pb1176.c