git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4a50d00
)
arm/imx/gpio: GPIO_INT_{HIGH,LOW}_LEV are not necessarily constant
author
Uwe Kleine-König
<u.kleine-koenig@pengutronix.de>
Fri, 5 Feb 2010 21:14:37 +0000
(22:14 +0100)
committer
Uwe Kleine-König
<u.kleine-koenig@pengutronix.de>
Wed, 24 Feb 2010 09:06:56 +0000
(10:06 +0100)
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>
No differences found