提交 192ebb7d 编写于 作者: S Sachin Kamat 提交者: Olof Johansson

ARM: vt8500: Staticize local symbols

Variables local to this file are made static.
Signed-off-by: NSachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: NSachin Kamat <sachin.kamat@samsung.com>
Acked-by: NArnd Bergmann <arnd@arndb.de>
Acked-by: NTony Prisk <linux@prisktech.co.nz>
Signed-off-by: NOlof Johansson <olof@lixom.net>
上级 7e4588e8
...@@ -44,7 +44,7 @@ ...@@ -44,7 +44,7 @@
static void __iomem *pmc_base; static void __iomem *pmc_base;
void vt8500_restart(enum reboot_mode mode, const char *cmd) static void vt8500_restart(enum reboot_mode mode, const char *cmd)
{ {
if (pmc_base) if (pmc_base)
writel(1, pmc_base + VT8500_PMSR_REG); writel(1, pmc_base + VT8500_PMSR_REG);
...@@ -60,7 +60,7 @@ static struct map_desc vt8500_io_desc[] __initdata = { ...@@ -60,7 +60,7 @@ static struct map_desc vt8500_io_desc[] __initdata = {
}, },
}; };
void __init vt8500_map_io(void) static void __init vt8500_map_io(void)
{ {
iotable_init(vt8500_io_desc, ARRAY_SIZE(vt8500_io_desc)); iotable_init(vt8500_io_desc, ARRAY_SIZE(vt8500_io_desc));
} }
...@@ -72,7 +72,7 @@ static void vt8500_power_off(void) ...@@ -72,7 +72,7 @@ static void vt8500_power_off(void)
asm("mcr%? p15, 0, %0, c7, c0, 4" : : "r" (0)); asm("mcr%? p15, 0, %0, c7, c0, 4" : : "r" (0));
} }
void __init vt8500_init(void) static void __init vt8500_init(void)
{ {
struct device_node *np; struct device_node *np;
#if defined(CONFIG_FB_VT8500) || defined(CONFIG_FB_WM8505) #if defined(CONFIG_FB_VT8500) || defined(CONFIG_FB_WM8505)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册