irqchip: exynos: pass max combiner number to combiner_init
authorArnd Bergmann <arnd@arndb.de>
Wed, 10 Apr 2013 13:17:47 +0000 (15:17 +0200)
committerArnd Bergmann <arnd@arndb.de>
Fri, 19 Apr 2013 21:00:40 +0000 (23:00 +0200)
commit6761dcfe8c42b55076753bc8bea7b5dcbfb445c0
tree1fff09aea689b937c15ac5f6178d173ac3f062c5
parent30269ddff13f417677a27e37086c97a57f1cf2da
irqchip: exynos: pass max combiner number to combiner_init

We can find out the number of combined IRQs from the device
tree, but in case of ATAGS boot, the driver currently uses
hardcoded values based on the SoC type. We can't do that
in general for a multiplatform kernel, so let's instead pass
this information from platform code directly in case of
ATAGS boot.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Cc: Thomas Gleixner <tglx@linutronix.de>
arch/arm/mach-exynos/common.c
arch/arm/mach-exynos/common.h
drivers/irqchip/exynos-combiner.c