From b086e97b20f150e81609a04ed7da92e12d77f1b0 Mon Sep 17 00:00:00 2001 From: Richard Zhao Date: Thu, 30 Dec 2010 19:25:01 +0800 Subject: arm: plat-mxc: add full parameter macro to define gpio port MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Richard Zhao Acked-by: Uwe Kleine-König Signed-off-by: Sascha Hauer --- arch/arm/plat-mxc/gpio.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'arch/arm/plat-mxc') diff --git a/arch/arm/plat-mxc/gpio.c b/arch/arm/plat-mxc/gpio.c index 93a8d93dcc2..dd4f81348c9 100644 --- a/arch/arm/plat-mxc/gpio.c +++ b/arch/arm/plat-mxc/gpio.c @@ -350,15 +350,18 @@ int __init mxc_gpio_init(struct mxc_gpio_port *port, int cnt) return 0; } -#define DEFINE_IMX_GPIO_PORT_IRQ(soc, _id, _hwid, _irq) \ +#define DEFINE_IMX_GPIO_PORT_IRQ_HIGH(soc, _id, _hwid, _irq, _irq_high) \ { \ .chip.label = "gpio-" #_id, \ .irq = _irq, \ + .irq_high = _irq_high, \ .base = soc ## _IO_ADDRESS( \ soc ## _GPIO ## _hwid ## _BASE_ADDR), \ .virtual_irq_start = MXC_GPIO_IRQ_START + (_id) * 32, \ } +#define DEFINE_IMX_GPIO_PORT_IRQ(soc, _id, _hwid, _irq) \ + DEFINE_IMX_GPIO_PORT_IRQ_HIGH(soc, _id, _hwid, _irq, 0) #define DEFINE_IMX_GPIO_PORT(soc, _id, _hwid) \ DEFINE_IMX_GPIO_PORT_IRQ(soc, _id, _hwid, 0) -- cgit v1.2.3-18-g5258