diff options
author | Adrian Bunk <bunk@kernel.org> | 2008-06-17 18:30:57 -0400 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2008-07-28 05:10:30 -0400 |
commit | 2b7bf930ae762d3124317e36f26a7567dc04e835 (patch) | |
tree | 966978643ab2186f8f4d44ed9957ee56af62c9cc /arch/sh | |
parent | 306cfd630a4d121cf4e08b894d8b4c4cf106e57e (diff) |
sh/boards/dreamcast/rtc.c: make 2 functions static
This patch makes the needlessly global aica_rtc_{get,set}timeofday()
static.
Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh')
-rw-r--r-- | arch/sh/boards/dreamcast/rtc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/sh/boards/dreamcast/rtc.c b/arch/sh/boards/dreamcast/rtc.c index b3a876a3b859..a7433685798d 100644 --- a/arch/sh/boards/dreamcast/rtc.c +++ b/arch/sh/boards/dreamcast/rtc.c | |||
@@ -30,7 +30,7 @@ | |||
30 | * | 30 | * |
31 | * Grabs the current RTC seconds counter and adjusts it to the Unix Epoch. | 31 | * Grabs the current RTC seconds counter and adjusts it to the Unix Epoch. |
32 | */ | 32 | */ |
33 | void aica_rtc_gettimeofday(struct timespec *ts) | 33 | static void aica_rtc_gettimeofday(struct timespec *ts) |
34 | { | 34 | { |
35 | unsigned long val1, val2; | 35 | unsigned long val1, val2; |
36 | 36 | ||
@@ -54,7 +54,7 @@ void aica_rtc_gettimeofday(struct timespec *ts) | |||
54 | * | 54 | * |
55 | * Adjusts the given @tv to the AICA Epoch and sets the RTC seconds counter. | 55 | * Adjusts the given @tv to the AICA Epoch and sets the RTC seconds counter. |
56 | */ | 56 | */ |
57 | int aica_rtc_settimeofday(const time_t secs) | 57 | static int aica_rtc_settimeofday(const time_t secs) |
58 | { | 58 | { |
59 | unsigned long val1, val2; | 59 | unsigned long val1, val2; |
60 | unsigned long adj = secs + TWENTY_YEARS; | 60 | unsigned long adj = secs + TWENTY_YEARS; |