summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--drivers/gpio/gpio-etraxfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpio/gpio-etraxfs.c b/drivers/gpio/gpio-etraxfs.c
index 0e64314..625a9ed 100644
--- a/drivers/gpio/gpio-etraxfs.c
+++ b/drivers/gpio/gpio-etraxfs.c
@@ -140,7 +140,7 @@ static int etraxfs_gpio_probe(struct platform_device *pdev)
NULL, /* clr */
regs + port->oe, /* dirout */
NULL, /* dirin */
- BGPIOF_UNREADABLE_REG_SET);
+ BGPIOF_READ_OUTPUT_REG_SET);
if (ret)
return ret;