arm/mxc: do not use gpio_to_irq() for static initializers
authorShawn Guo <shawn.guo@linaro.org>
Sat, 13 Aug 2011 16:14:01 +0000 (00:14 +0800)
committerSascha Hauer <s.hauer@pengutronix.de>
Tue, 16 Aug 2011 07:00:36 +0000 (09:00 +0200)
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>

No differences found