From: Uwe Kleine-König Date: Fri, 5 Feb 2010 21:14:37 +0000 (+0100) Subject: arm/imx/gpio: GPIO_INT_{HIGH,LOW}_LEV are not necessarily constant X-Git-Tag: v2.6.34-rc2~66^2~5^2~28 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3d40f7fef45c0173e98dcdad6a9d642127331c66;p=pandora-kernel.git 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 --- Reading git-diff-tree failed