2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-25 21:54:06 +08:00

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 <brgl@bgdev.pl>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
This commit is contained in:
Bartosz Golaszewski 2017-11-27 11:48:46 +01:00 committed by Linus Walleij
parent ca8792af40
commit 5b7908c024

View File

@ -48,7 +48,7 @@ enum {
*/
struct gpio_mockup_line_status {
int dir;
bool value;
int value;
};
struct gpio_mockup_chip {