From: Bartosz Golaszewski Date: Mon, 27 Nov 2017 10:48:46 +0000 (+0100) Subject: gpio: mockup: change the type of value field in line state struct X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=5b7908c024ae6e3f21af077d4841d20f9a9567b9;p=openwrt%2Fstaging%2Fblogic.git gpio: mockup: change the type of value field in line state struct GPIO values are universally represented as integers. Change the type of the variable storing the current line value to int for consistency. Signed-off-by: Bartosz Golaszewski Signed-off-by: Linus Walleij --- diff --git a/drivers/gpio/gpio-mockup.c b/drivers/gpio/gpio-mockup.c index 9a880e15ea0b..8a61328a255d 100644 --- a/drivers/gpio/gpio-mockup.c +++ b/drivers/gpio/gpio-mockup.c @@ -48,7 +48,7 @@ enum { */ struct gpio_mockup_line_status { int dir; - bool value; + int value; }; struct gpio_mockup_chip {