9
0
Fork 0

ARM: clps711x: Mark private functions that not will be used outside as static

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
Alexander Shiyan 2013-02-13 15:41:40 +04:00 committed by Sascha Hauer
parent 83a9067615
commit 2f19e281f2
2 changed files with 4 additions and 6 deletions

View File

@ -15,13 +15,11 @@
#include <mach/clps711x.h>
struct clk {
static struct clk {
unsigned long rate;
};
} uart_clk, bus_clk;
static struct clk uart_clk, bus_clk;
uint64_t clocksource_read(void)
static uint64_t clocksource_read(void)
{
return ~readw(TC2D);
}

View File

@ -14,7 +14,7 @@
#include <mach/clps711x.h>
inline void _clps711x_setup_memcfg(int bank, u32 addr, u32 val)
inline static void _clps711x_setup_memcfg(int bank, u32 addr, u32 val)
{
u32 tmp = readl(addr);