aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/rb532
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/rb532')
-rw-r--r--arch/mips/rb532/gpio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/rb532/gpio.c b/arch/mips/rb532/gpio.c
index 11d7127655e3..b028779fedda 100644
--- a/arch/mips/rb532/gpio.c
+++ b/arch/mips/rb532/gpio.c
@@ -70,7 +70,7 @@ void set_434_reg(unsigned reg_offs, unsigned bit, unsigned len, unsigned val)
70 70
71 spin_lock_irqsave(&dev3.lock, flags); 71 spin_lock_irqsave(&dev3.lock, flags);
72 72
73 data = *(volatile unsigned *) (IDT434_REG_BASE + reg_offs); 73 data = readl(IDT434_REG_BASE + reg_offs);
74 for (i = 0; i != len; ++i) { 74 for (i = 0; i != len; ++i) {
75 if (val & (1 << i)) 75 if (val & (1 << i))
76 data |= (1 << (i + bit)); 76 data |= (1 << (i + bit));