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:
parent
83a9067615
commit
2f19e281f2
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue