commit | e309fb1864e2d59ff030d5b95c4fb8188ab0eb4c | [log] [tgz] |
---|---|---|
author | Shawn Guo <shawn.guo@linaro.org> | Sun Aug 14 00:14:01 2011 +0800 |
committer | Sascha Hauer <s.hauer@pengutronix.de> | Tue Aug 16 09:00:36 2011 +0200 |
tree | 0d15f799f03b14b3dc774fb4d7fa2c1124d99a2c | |
parent | 93ee7a9340d64f20295aacc3fb6a22b759323280 [diff] |
arm/mxc: do not use gpio_to_irq() for static initializers The patch defines IMX_GPIO_TO_IRQ() in mach/hardware.h and replaces all the uses of gpio_to_irq() in static initializers with IMX_GPIO_TO_IRQ(). Signed-off-by: Shawn Guo <shawn.guo@linaro.org> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>