diff options
author | Jeroen Hofstee <jeroen@myspectrum.nl> | 2014-10-08 22:57:37 +0200 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2014-10-25 07:02:01 -0400 |
commit | 2115d89db8498e075d1016bc66ae44d95bbd38fe (patch) | |
tree | ebbe4697d046546e339075ef41a9fea7d9e72c4f /drivers/gpio/kw_gpio.c | |
parent | 783a91fdbbf1d1d4530ca8c74d9ebae942b21378 (diff) | |
download | u-boot-imx-2115d89db8498e075d1016bc66ae44d95bbd38fe.zip u-boot-imx-2115d89db8498e075d1016bc66ae44d95bbd38fe.tar.gz u-boot-imx-2115d89db8498e075d1016bc66ae44d95bbd38fe.tar.bz2 |
gpio: make local functions static
Signed-off-by: Jeroen Hofstee <jeroen@myspectrum.nl>
Diffstat (limited to 'drivers/gpio/kw_gpio.c')
-rw-r--r-- | drivers/gpio/kw_gpio.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpio/kw_gpio.c b/drivers/gpio/kw_gpio.c index 4fca089..43b27e3 100644 --- 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; |