mirror of
https://github.com/torvalds/linux.git
synced 2024-12-14 15:13:52 +00:00
arm/imx/irq: order definitions of MXC_GPIO_IRQS numerically
This is important for kernels supporting more than one SoC. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
This commit is contained in:
parent
220f7f3070
commit
abf6163288
@ -18,16 +18,17 @@
|
||||
|
||||
#define MXC_GPIO_IRQ_START MXC_INTERNAL_IRQS
|
||||
|
||||
#if defined CONFIG_ARCH_MX1
|
||||
#define MXC_GPIO_IRQS (32 * 4)
|
||||
#elif defined CONFIG_ARCH_MX2
|
||||
/* these are ordered by size to support multi-SoC kernels */
|
||||
#if defined CONFIG_ARCH_MX2
|
||||
#define MXC_GPIO_IRQS (32 * 6)
|
||||
#elif defined CONFIG_ARCH_MX3
|
||||
#define MXC_GPIO_IRQS (32 * 3)
|
||||
#elif defined CONFIG_ARCH_MX1
|
||||
#define MXC_GPIO_IRQS (32 * 4)
|
||||
#elif defined CONFIG_ARCH_MX25
|
||||
#define MXC_GPIO_IRQS (32 * 4)
|
||||
#elif defined CONFIG_ARCH_MXC91231
|
||||
#define MXC_GPIO_IRQS (32 * 4)
|
||||
#elif defined CONFIG_ARCH_MX3
|
||||
#define MXC_GPIO_IRQS (32 * 3)
|
||||
#endif
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user