MIPS: BCM63XX: use a switch for external irq config
authorMaxime Bizon <mbizon@freebox.fr>
Fri, 13 Jul 2012 07:46:05 +0000 (07:46 +0000)
committerJohn Crispin <blogic@openwrt.org>
Fri, 24 Aug 2012 18:09:01 +0000 (20:09 +0200)
commit58e380afb67aeeb0416f3ea25f0d8007b03cb513
treeb2b2686a9ca9f26d5831eedd867d135d850b6e8c
parent6d591805917cbc691e34cb3f8a10fef5997889bf
MIPS: BCM63XX: use a switch for external irq config

Makes the code a bit more readable and easier to add support for
new chips.

Signed-off-by: Maxime Bizon <mbizon@freebox.fr>
Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
Patchwork: http://patchwork.linux-mips.org/patch/4093/
Signed-off-by: John Crispin <blogic@openwrt.org>
arch/mips/bcm63xx/irq.c