projects
/
profile
/
mobile
/
platform
/
kernel
/
u-boot-tm1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9d368f1
)
gpio: remove build warnings caused by sprd bsp
59/165559/1
author
Seung-Woo Kim
<sw0312.kim@samsung.com>
Tue, 2 Jan 2018 06:38:58 +0000
(15:38 +0900)
committer
Seung-Woo Kim
<sw0312.kim@samsung.com>
Tue, 2 Jan 2018 06:47:44 +0000
(15:47 +0900)
Remove build warnings caused by sprd bsp.
Change-Id: I0c64253caec188267a13dc9e24cbfd489085d746
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
include/asm-generic/gpio.h
patch
|
blob
|
history
diff --git
a/include/asm-generic/gpio.h
b/include/asm-generic/gpio.h
index
3d22357
..
70d481d
100644
(file)
--- a/
include/asm-generic/gpio.h
+++ b/
include/asm-generic/gpio.h
@@
-28,12
+28,13
@@
* platform data and other tables.
*/
-static bool gpio_is_valid(int number)
+static
inline
bool gpio_is_valid(int number)
{
return number >= 0 && number < ARCH_NR_GPIOS;
}
struct gpio;
+struct seq_file;
/**
* struct gpio_chip - abstract a GPIO controller