diff options
Diffstat (limited to 'drivers/gpio/gpio-lp873x.c')
| -rw-r--r-- | drivers/gpio/gpio-lp873x.c | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpio/gpio-lp873x.c b/drivers/gpio/gpio-lp873x.c index 801995dd9b26..70fad87ff2db 100644 --- a/drivers/gpio/gpio-lp873x.c +++ b/drivers/gpio/gpio-lp873x.c @@ -33,7 +33,7 @@ static int lp873x_gpio_get_direction(struct gpio_chip *chip,  				     unsigned int offset)  {  	/* This device is output only */ -	return 0; +	return GPIO_LINE_DIRECTION_OUT;  }  static int lp873x_gpio_direction_input(struct gpio_chip *chip,  |