ARM: mvebu: MPIC: read number of interrupts from control register
authorBen Dooks <ben.dooks@codethink.co.uk>
Mon, 4 Jun 2012 16:50:12 +0000 (18:50 +0200)
committerArnd Bergmann <arnd@arndb.de>
Tue, 10 Jul 2012 13:47:52 +0000 (15:47 +0200)
commitf3e16ccd03fab2f8440609bd44feb882b5fdd31d
treed022fb8e1802cc53562c2ed0fc0cba44e95b8640
parent75f41273ec558d4ffc22c2dbf7637d42f167cf25
ARM: mvebu: MPIC: read number of interrupts from control register

Read the number of MPIC interrupts from the controller and only register
that many.

[gregory.clement@free-electrons.com: rename armada symbol name to fit
with new name: armada_370_xp]

Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk>
Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Lior Amsalem <alior@marvell.com>
arch/arm/mach-mvebu/irq-armada-370-xp.c