summaryrefslogtreecommitdiff
path: root/drivers/gpio/kw_gpio.c
diff options
context:
space:
mode:
authorJeroen Hofstee <jeroen@myspectrum.nl>2014-10-08 22:57:37 +0200
committerTom Rini <trini@ti.com>2014-10-25 07:02:01 -0400
commit2115d89db8498e075d1016bc66ae44d95bbd38fe (patch)
treeebbe4697d046546e339075ef41a9fea7d9e72c4f /drivers/gpio/kw_gpio.c
parent783a91fdbbf1d1d4530ca8c74d9ebae942b21378 (diff)
downloadu-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.c4
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;