/*
* IRQ -> GPIO mapping table
*/
-static signed char irq2gpio[32] = {
+static int irq2gpio[32] = {
-1, -1, -1, -1, -1, -1, 0, 1,
-1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, 2, 3, 4, 5, 6,
/* Set the new style */
*int_reg |= (int_style << (line * IXP4XX_GPIO_STYLE_SIZE));
- /* Configure the line as an input */
- gpio_line_config(line, IXP4XX_GPIO_IN);
-
return 0;
}