diff options
author | Alexander Shiyan <shc_work@mail.ru> | 2013-02-13 15:41:40 +0400 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2013-02-13 18:34:26 +0100 |
commit | 2f19e281f2d4e5bf7a3f96cd8c00e952f5b09dde (patch) | |
tree | 7b1c16df82ef75d50abc426cf48074cb5ba496bf /arch/arm/mach-clps711x/clock.c | |
parent | 83a90676151f1e2858b90b0f414a202aef614d8f (diff) | |
download | barebox-2f19e281f2d4e5bf7a3f96cd8c00e952f5b09dde.tar.gz barebox-2f19e281f2d4e5bf7a3f96cd8c00e952f5b09dde.tar.xz |
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>
Diffstat (limited to 'arch/arm/mach-clps711x/clock.c')
-rw-r--r-- | arch/arm/mach-clps711x/clock.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/arch/arm/mach-clps711x/clock.c b/arch/arm/mach-clps711x/clock.c index 5cafba98e9..09cbaf961c 100644 --- a/arch/arm/mach-clps711x/clock.c +++ b/arch/arm/mach-clps711x/clock.c @@ -15,13 +15,11 @@ #include <mach/clps711x.h> -struct clk { +static struct clk { unsigned long rate; -}; - -static struct clk uart_clk, bus_clk; +} uart_clk, bus_clk; -uint64_t clocksource_read(void) +static uint64_t clocksource_read(void) { return ~readw(TC2D); } |