]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
sh/boards/dreamcast/rtc.c: make 2 functions static
authorAdrian Bunk <bunk@kernel.org>
Tue, 17 Jun 2008 22:30:57 +0000 (01:30 +0300)
committerPaul Mundt <lethal@linux-sh.org>
Mon, 28 Jul 2008 09:10:30 +0000 (18:10 +0900)
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>
arch/sh/boards/dreamcast/rtc.c

index b3a876a3b85978363e7b9de6ccf5a464a026b55c..a7433685798d83b26695c5530de6750f1dcdc377 100644 (file)
@@ -30,7 +30,7 @@
  *
  * Grabs the current RTC seconds counter and adjusts it to the Unix Epoch.
  */
-void aica_rtc_gettimeofday(struct timespec *ts)
+static void aica_rtc_gettimeofday(struct timespec *ts)
 {
        unsigned long val1, val2;
 
@@ -54,7 +54,7 @@ void aica_rtc_gettimeofday(struct timespec *ts)
  *
  * Adjusts the given @tv to the AICA Epoch and sets the RTC seconds counter.
  */
-int aica_rtc_settimeofday(const time_t secs)
+static int aica_rtc_settimeofday(const time_t secs)
 {
        unsigned long val1, val2;
        unsigned long adj = secs + TWENTY_YEARS;