diff options
Diffstat (limited to 'arch/mips/rb532/gpio.c')
-rw-r--r-- | arch/mips/rb532/gpio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/rb532/gpio.c b/arch/mips/rb532/gpio.c index 2f2cb8dc6531..be977a4c2f9c 100644 --- a/arch/mips/rb532/gpio.c +++ b/arch/mips/rb532/gpio.c | |||
@@ -93,7 +93,7 @@ void set_latch_u5(unsigned char or_mask, unsigned char nand_mask) | |||
93 | spin_lock_irqsave(&dev3.lock, flags); | 93 | spin_lock_irqsave(&dev3.lock, flags); |
94 | 94 | ||
95 | dev3.state = (dev3.state | or_mask) & ~nand_mask; | 95 | dev3.state = (dev3.state | or_mask) & ~nand_mask; |
96 | writel(dev3.state, &dev3.base); | 96 | writeb(dev3.state, dev3.base); |
97 | 97 | ||
98 | spin_unlock_irqrestore(&dev3.lock, flags); | 98 | spin_unlock_irqrestore(&dev3.lock, flags); |
99 | } | 99 | } |