]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - drivers/gpio/kw_gpio.c
Merge branch 'master' of git://git.denx.de/u-boot
[karo-tx-uboot.git] / drivers / gpio / kw_gpio.c
index 0af75a84ea7ab6ea5251549d43d40bbed96e40f2..43b27e3fea1bc86f5fbef46f969a7f8ff0322286 100644 (file)
@@ -16,7 +16,7 @@
 #include <common.h>
 #include <asm/bitops.h>
 #include <asm/io.h>
-#include <asm/arch/kirkwood.h>
+#include <asm/arch/soc.h>
 #include <asm/arch/gpio.h>
 
 static unsigned long gpio_valid_input[BITS_TO_LONGS(GPIO_MAX)];
@@ -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;