浏览代码

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>
Adrian Bunk 17 年之前
父节点
当前提交
2b7bf930ae
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      arch/sh/boards/dreamcast/rtc.c

+ 2 - 2
arch/sh/boards/dreamcast/rtc.c

@@ -30,7 +30,7 @@
  *
  *
  * Grabs the current RTC seconds counter and adjusts it to the Unix Epoch.
  * 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;
 	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.
  * 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 val1, val2;
 	unsigned long adj = secs + TWENTY_YEARS;
 	unsigned long adj = secs + TWENTY_YEARS;