Skip to content

Commit 758e152

Browse files
geertuglaubitz
authored andcommitted
sh: mach-sh03: Make sh03_rtc_settimeofday() static
arch/sh/boards/mach-sh03/rtc.c:123:5: warning: no previous prototype for ‘sh03_rtc_settimeofday’ [-Wmissing-prototypes] There are no users outside this file, so make it static. Signed-off-by: Geert Uytterhoeven <[email protected]> Reviewed-by: John Paul Adrian Glaubitz <[email protected]> Link: https://lore.kernel.org/r/95417f2a3eb1561af7c2ee064efbc3ef3f03dac3.1709579038.git.geert+renesas@glider.be Signed-off-by: John Paul Adrian Glaubitz <[email protected]>
1 parent 7dff7c1 commit 758e152

File tree

1 file changed

+1
-1
lines changed
  • arch/sh/boards/mach-sh03

1 file changed

+1
-1
lines changed

arch/sh/boards/mach-sh03/rtc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ static int set_rtc_mmss(struct rtc_time *tm)
120120
return retval;
121121
}
122122

123-
int sh03_rtc_settimeofday(struct device *dev, struct rtc_time *tm)
123+
static int sh03_rtc_settimeofday(struct device *dev, struct rtc_time *tm)
124124
{
125125
return set_rtc_mmss(tm);
126126
}

0 commit comments

Comments
 (0)