summaryrefslogtreecommitdiff
path: root/drivers/gpio/gpio-f7188x.c
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2016-04-18 13:30:29 +0200
committerLinus Walleij <linus.walleij@linaro.org>2016-04-18 13:32:20 +0200
commit327819d1e52434de869aab2ee5183682357d8e6d (patch)
tree5853121756f1cb98396c5a700c86761317970e57 /drivers/gpio/gpio-f7188x.c
parentc686090f14e0673f9b1a3aec316098742f8e003c (diff)
gpio: f7188x: fix edit mistake
Fix a typo causing a build regression. Fixes: f90c6bdb690b ("gpio: f7188x: use the new open drain callback") Reported-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/gpio/gpio-f7188x.c')
-rw-r--r--drivers/gpio/gpio-f7188x.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpio/gpio-f7188x.c b/drivers/gpio/gpio-f7188x.c
index 58674ff75097..05aa538c3767 100644
--- a/drivers/gpio/gpio-f7188x.c
+++ b/drivers/gpio/gpio-f7188x.c
@@ -328,7 +328,7 @@ static int f7188x_gpio_set_single_ended(struct gpio_chip *chip,
data &= ~BIT(offset);
else
data |= BIT(offset);
- superio_outb(sio->addr, gpio_data_mode(bank->regbase), data);
+ superio_outb(sio->addr, gpio_out_mode(bank->regbase), data);
superio_exit(sio->addr);
return 0;