diff options
Diffstat (limited to 'arch/arm/mach-ixp4xx/common.c')
| -rw-r--r-- | arch/arm/mach-ixp4xx/common.c | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-ixp4xx/common.c b/arch/arm/mach-ixp4xx/common.c index 8112f726ffa0..4c54a86eda3a 100644 --- a/arch/arm/mach-ixp4xx/common.c +++ b/arch/arm/mach-ixp4xx/common.c  | |||
| @@ -188,7 +188,7 @@ static int ixp4xx_set_irq_type(unsigned int irq, unsigned int type) | |||
| 188 | *int_reg |= (int_style << (line * IXP4XX_GPIO_STYLE_SIZE)); | 188 | *int_reg |= (int_style << (line * IXP4XX_GPIO_STYLE_SIZE)); | 
| 189 | 189 | ||
| 190 | /* Configure the line as an input */ | 190 | /* Configure the line as an input */ | 
| 191 | gpio_line_config(line, IXP4XX_GPIO_IN); | 191 | gpio_line_config(irq2gpio[irq], IXP4XX_GPIO_IN); | 
| 192 | 192 | ||
| 193 | return 0; | 193 | return 0; | 
| 194 | } | 194 | } | 
