projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'component' of git://ftp.arm.linux.org.uk/~rmk/linux-arm
[cascardo/linux.git]
/
arch
/
mips
/
rb532
/
gpio.c
diff --git
a/arch/mips/rb532/gpio.c
b/arch/mips/rb532/gpio.c
index
650d5d3
..
fd11085
100644
(file)
--- a/
arch/mips/rb532/gpio.c
+++ b/
arch/mips/rb532/gpio.c
@@
-89,7
+89,7
@@
static int rb532_gpio_get(struct gpio_chip *chip, unsigned offset)
struct rb532_gpio_chip *gpch;
gpch = container_of(chip, struct rb532_gpio_chip, chip);
- return rb532_get_bit(offset, gpch->regbase + GPIOD);
+ return
!!
rb532_get_bit(offset, gpch->regbase + GPIOD);
}
/*