summaryrefslogtreecommitdiffstats
path: root/drivers/gpio/gpio-dw.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpio/gpio-dw.c')
-rw-r--r--drivers/gpio/gpio-dw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpio/gpio-dw.c b/drivers/gpio/gpio-dw.c
index 65770422ae..e46cc8e129 100644
--- a/drivers/gpio/gpio-dw.c
+++ b/drivers/gpio/gpio-dw.c
@@ -95,7 +95,7 @@ static int dw_gpio_get_direction(struct gpio_chip *gc, unsigned offset)
struct dw_gpio_instance *chip = to_dw_gpio(gc);
return (readl(chip->regs + DW_GPIO_DDR) & (1 << offset)) ?
- GPIO_DIR_OUT : GPIO_DIR_IN;
+ GPIOF_DIR_OUT : GPIOF_DIR_IN;
}
static struct gpio_ops imx_gpio_ops = {