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:
b0265d5
)
dm: zynq: Remove inline gpio functions
author
Simon Glass
<sjg@chromium.org>
Tue, 6 Jan 2015 03:05:37 +0000
(20:05 -0700)
committer
Simon Glass
<sjg@chromium.org>
Fri, 30 Jan 2015 00:09:52 +0000
(17:09 -0700)
These functions serve no useful purpose, and conflict with the generic API.
Drop them.
Signed-off-by: Simon Glass <sjg@chromium.org>
arch/arm/include/asm/arch-zynq/gpio.h
patch
|
blob
|
history
diff --git
a/arch/arm/include/asm/arch-zynq/gpio.h
b/arch/arm/include/asm/arch-zynq/gpio.h
index 2dbba756d737f6674ed050edad6bd212ffefb65b..a26ae872933ef1ad8309e3bac55d76637cd3edc2 100644
(file)
--- a/
arch/arm/include/asm/arch-zynq/gpio.h
+++ b/
arch/arm/include/asm/arch-zynq/gpio.h
@@
-7,19
+7,4
@@
#ifndef _ZYNQ_GPIO_H
#define _ZYNQ_GPIO_H
-inline int gpio_get_value(unsigned gpio)
-{
- return 0;
-}
-
-inline int gpio_set_value(unsigned gpio, int val)
-{
- return 0;
-}
-
-inline int gpio_request(unsigned gpio, const char *label)
-{
- return 0;
-}
-
#endif /* _ZYNQ_GPIO_H */