diff options
Diffstat (limited to 'drivers/gpio/sh_pfc.c')
-rw-r--r-- | drivers/gpio/sh_pfc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpio/sh_pfc.c b/drivers/gpio/sh_pfc.c index 92522b6..2495d6c 100644 --- a/drivers/gpio/sh_pfc.c +++ b/drivers/gpio/sh_pfc.c @@ -569,7 +569,7 @@ static int sh_gpio_get_value(struct pinmux_info *gpioc, unsigned gpio) if (!gpioc || get_data_reg(gpioc, gpio, &dr, &bit) != 0) return -1; - if (IS_ENABLED(CONFIG_RCAR_GEN3) && + if (IS_ENABLED(CONFIG_RCAR_64) && ((gpioc->gpios[gpio].flags & PINMUX_FLAG_TYPE) == PINMUX_TYPE_INPUT)) offset += 4; |