diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2010-02-05 22:14:37 +0100 |
---|---|---|
committer | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2010-02-24 10:06:56 +0100 |
commit | 3d40f7fef45c0173e98dcdad6a9d642127331c66 (patch) | |
tree | 4d5e06cce70da54e198a1bd96793825a2a937217 /arch/sh | |
parent | 4a50d00cb90dd5dd79e40281a8719a1fc673c2a5 (diff) |
arm/imx/gpio: GPIO_INT_{HIGH,LOW}_LEV are not necessarily constant
GPIO_INT_LOW_LEV is defined as
(cpu_is_mx1_mx2() ? 0x3 : 0x0)
so depending on compiler optimisation and enabled SoCs this doesn't
qualify as a constant expression as needed by a switch statement.
Ditto for GPIO_INT_HIGH_LEV.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Diffstat (limited to 'arch/sh')
0 files changed, 0 insertions, 0 deletions