diff options
-rw-r--r-- | arch/arm/mach-ep93xx/core.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/arm/mach-ep93xx/core.c b/arch/arm/mach-ep93xx/core.c index c535e8805a3b..f477df0e5e4c 100644 --- a/arch/arm/mach-ep93xx/core.c +++ b/arch/arm/mach-ep93xx/core.c | |||
@@ -155,7 +155,7 @@ static unsigned char gpio_int_unmasked[3]; | |||
155 | static unsigned char gpio_int_enabled[3]; | 155 | static unsigned char gpio_int_enabled[3]; |
156 | static unsigned char gpio_int_type1[3]; | 156 | static unsigned char gpio_int_type1[3]; |
157 | static unsigned char gpio_int_type2[3]; | 157 | static unsigned char gpio_int_type2[3]; |
158 | static unsigned char gpio_int_debouce[3]; | 158 | static unsigned char gpio_int_debounce[3]; |
159 | 159 | ||
160 | /* Port ordering is: A B F */ | 160 | /* Port ordering is: A B F */ |
161 | static const u8 int_type1_register_offset[3] = { 0x90, 0xac, 0x4c }; | 161 | static const u8 int_type1_register_offset[3] = { 0x90, 0xac, 0x4c }; |
@@ -192,11 +192,11 @@ void ep93xx_gpio_int_debounce(unsigned int irq, int enable) | |||
192 | int port_mask = 1 << (line & 7); | 192 | int port_mask = 1 << (line & 7); |
193 | 193 | ||
194 | if (enable) | 194 | if (enable) |
195 | gpio_int_debouce[port] |= port_mask; | 195 | gpio_int_debounce[port] |= port_mask; |
196 | else | 196 | else |
197 | gpio_int_debouce[port] &= ~port_mask; | 197 | gpio_int_debounce[port] &= ~port_mask; |
198 | 198 | ||
199 | __raw_writeb(gpio_int_debouce[port], | 199 | __raw_writeb(gpio_int_debounce[port], |
200 | EP93XX_GPIO_REG(int_debounce_register_offset[port])); | 200 | EP93XX_GPIO_REG(int_debounce_register_offset[port])); |
201 | } | 201 | } |
202 | EXPORT_SYMBOL(ep93xx_gpio_int_debounce); | 202 | EXPORT_SYMBOL(ep93xx_gpio_int_debounce); |