projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
783a91f
)
gpio: make local functions static
author
Jeroen Hofstee
<jeroen@myspectrum.nl>
Wed, 8 Oct 2014 20:57:37 +0000
(22:57 +0200)
committer
Tom Rini
<trini@ti.com>
Sat, 25 Oct 2014 11:02:01 +0000
(07:02 -0400)
Signed-off-by: Jeroen Hofstee <jeroen@myspectrum.nl>
drivers/gpio/kw_gpio.c
patch
|
blob
|
history
diff --git
a/drivers/gpio/kw_gpio.c
b/drivers/gpio/kw_gpio.c
index 4fca0894e67f3ca0a088dcb214b17df3d9d97c0b..43b27e3fea1bc86f5fbef46f969a7f8ff0322286 100644
(file)
--- a/
drivers/gpio/kw_gpio.c
+++ b/
drivers/gpio/kw_gpio.c
@@
-36,7
+36,7
@@
void __set_direction(unsigned pin, int input)
u = readl(GPIO_IO_CONF(pin));
}
-void __set_level(unsigned pin, int high)
+
static
void __set_level(unsigned pin, int high)
{
u32 u;
@@
-48,7
+48,7
@@
void __set_level(unsigned pin, int high)
writel(u, GPIO_OUT(pin));
}
-void __set_blinking(unsigned pin, int blink)
+
static
void __set_blinking(unsigned pin, int blink)
{
u32 u;