From fc23cd7b4e9939c67f958c9c389c5f40d7d697bf Mon Sep 17 00:00:00 2001 From: Florian Fainelli Date: Fri, 22 Aug 2008 17:02:03 +0200 Subject: [PATCH] --- yaml --- r: 111110 b: refs/heads/master c: c76befc3429354909d3242d11b8d3bcb3bea4b03 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/arch/mips/rb532/gpio.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 43008660c5cd..fc17f6e0bc68 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 49afa0a15180c22c8836ef36edd6aa48ab7b2915 +refs/heads/master: c76befc3429354909d3242d11b8d3bcb3bea4b03 diff --git a/trunk/arch/mips/rb532/gpio.c b/trunk/arch/mips/rb532/gpio.c index 11d7127655e3..b028779fedda 100644 --- a/trunk/arch/mips/rb532/gpio.c +++ b/trunk/arch/mips/rb532/gpio.c @@ -70,7 +70,7 @@ void set_434_reg(unsigned reg_offs, unsigned bit, unsigned len, unsigned val) spin_lock_irqsave(&dev3.lock, flags); - data = *(volatile unsigned *) (IDT434_REG_BASE + reg_offs); + data = readl(IDT434_REG_BASE + reg_offs); for (i = 0; i != len; ++i) { if (val & (1 << i)) data |= (1 << (i + bit));