projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b9a66b6
)
gpio: do not include <asm/arch/gpio.h> for UniPhier
author
Masahiro Yamada
<
[email protected]
>
Tue, 16 Feb 2016 08:03:49 +0000
(17:03 +0900)
committer
Masahiro Yamada
<
[email protected]
>
Sun, 28 Feb 2016 18:50:15 +0000
(
03:50
+0900)
I implemented a GPIO driver based on Driver Model for the UniPhier
SoC family, but I could not find any good reason why such SoC
specific GPIO headers are needed.
Signed-off-by: Masahiro Yamada <
[email protected]
>
Acked-by: Simon Glass <
[email protected]
>
arch/arm/include/asm/gpio.h
patch
|
blob
|
history
diff --git
a/arch/arm/include/asm/gpio.h
b/arch/arm/include/asm/gpio.h
index d49ad080e2c30da6beb4e7e42c509c5bdd375463..fe4419cae4cfe8950dc3797e7071bf7de7eb4a43 100644
(file)
--- a/
arch/arm/include/asm/gpio.h
+++ b/
arch/arm/include/asm/gpio.h
@@
-1,2
+1,4
@@
+#ifndef CONFIG_ARCH_UNIPHIER
#include <asm/arch/gpio.h>
+#endif
#include <asm-generic/gpio.h>