]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit95ceccc2ea30608c6d62eebd0f0558b1ac8f7401
treed5301a4dae852687efcaf5f8c87e61e5085ada3a
parentaa61bdd8bbc3fe4c11acb9385dc05b62b210898b
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