irqchip: exynos: allocate combiner_data dynamically
authorArnd Bergmann <arnd@arndb.de>
Wed, 10 Apr 2013 13:31:11 +0000 (15:31 +0200)
committerArnd Bergmann <arnd@arndb.de>
Fri, 19 Apr 2013 21:00:41 +0000 (23:00 +0200)
commitd34f03d4a1e4e56f5944186c2e74cbed58b27090
treed5301a4dae852687efcaf5f8c87e61e5085ada3a
parent6761dcfe8c42b55076753bc8bea7b5dcbfb445c0
irqchip: exynos: allocate combiner_data dynamically

The number of combiners on a given SoC is a platform specific
constant, and we cannot encode this number on a multiplatform
kernel since the header file defining it is not available.

Allocating the structure dynamically ends up cleaner anyway
since we keep all the data local.

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