Commit a96fa67d authored by Ian Campbell's avatar Ian Campbell Committed by Russell King

[ARM PATCH] 2088/2: set_irq_type takes the IRQ number not the GPIO

Patch from Ian Campbell

Please ignore previous patch: set_irq_type takes the IRQ number and
not the GPIO number so using any variant on IRQ_TO_GPIO* is incorrect
anyway.
Signed-of-by: default avatarIan Campbell <icampbell@arcom.com>
parent 07e1a32f
...@@ -100,7 +100,7 @@ static void __init idp_map_io(void) ...@@ -100,7 +100,7 @@ static void __init idp_map_io(void)
pxa_map_io(); pxa_map_io();
iotable_init(idp_io_desc, ARRAY_SIZE(idp_io_desc)); iotable_init(idp_io_desc, ARRAY_SIZE(idp_io_desc));
set_irq_type(IRQ_TO_GPIO_2_80(TOUCH_PANEL_IRQ), TOUCH_PANEL_IRQ_EDGE); set_irq_type(TOUCH_PANEL_IRQ, TOUCH_PANEL_IRQ_EDGE);
// serial ports 2 & 3 // serial ports 2 & 3
pxa_gpio_mode(GPIO42_BTRXD_MD); pxa_gpio_mode(GPIO42_BTRXD_MD);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment