aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-u300
diff options
context:
space:
mode:
authorRoel Kluin <roel.kluin@gmail.com>2010-02-23 23:37:22 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2010-02-24 21:10:07 +0000
commitfcfadcaa57be0711ca80e3898243388f4d19928f (patch)
tree4df86b218b968ce3d2efc22a5c015a994d26ff46 /arch/arm/mach-u300
parent64de028948f449af17cf387f45a45f36ffd3c960 (diff)
downloadkernel_samsung_crespo-fcfadcaa57be0711ca80e3898243388f4d19928f.zip
kernel_samsung_crespo-fcfadcaa57be0711ca80e3898243388f4d19928f.tar.gz
kernel_samsung_crespo-fcfadcaa57be0711ca80e3898243388f4d19928f.tar.bz2
ARM: 5956/1: misplaced parentheses
The parentheses appear misplaced. Signed-off-by: Roel Kluin <roel.kluin@gmail.com> Acked-by: Linus Walleij <linus.walleij@stericsson.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-u300')
-rw-r--r--arch/arm/mach-u300/gpio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-u300/gpio.c b/arch/arm/mach-u300/gpio.c
index 0b35826..5f61fd4 100644
--- a/arch/arm/mach-u300/gpio.c
+++ b/arch/arm/mach-u300/gpio.c
@@ -546,7 +546,7 @@ static void gpio_set_initial_values(void)
for (i = 0; i < U300_GPIO_MAX; i++) {
val = 0;
for (j = 0; j < 8; j++)
- val |= (u32)((u300_gpio_config[i][j].pull_up == DISABLE_PULL_UP)) << j;
+ val |= (u32)((u300_gpio_config[i][j].pull_up == DISABLE_PULL_UP) << j);
local_irq_save(flags);
writel(val, virtbase + U300_GPIO_PXPER + i * U300_GPIO_PORTX_SPACING);
local_irq_restore(flags);