From: Geert Uytterhoeven Date: Mon, 4 Mar 2024 19:10:46 +0000 (+0100) Subject: sh: mach-sh03: Make sh03_rtc_settimeofday() static X-Git-Tag: v6.10-rc1~181^2~12 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=758e1523a85e64d132e8e9be368563cb7d14f877;p=thirdparty%2Fkernel%2Flinux.git 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 Reviewed-by: John Paul Adrian Glaubitz Link: https://lore.kernel.org/r/95417f2a3eb1561af7c2ee064efbc3ef3f03dac3.1709579038.git.geert+renesas@glider.be Signed-off-by: John Paul Adrian Glaubitz --- diff --git a/arch/sh/boards/mach-sh03/rtc.c b/arch/sh/boards/mach-sh03/rtc.c index 7fb474844a2d1..bc6cf995128c6 100644 --- a/arch/sh/boards/mach-sh03/rtc.c +++ b/arch/sh/boards/mach-sh03/rtc.c @@ -120,7 +120,7 @@ static int set_rtc_mmss(struct rtc_time *tm) return retval; } -int sh03_rtc_settimeofday(struct device *dev, struct rtc_time *tm) +static int sh03_rtc_settimeofday(struct device *dev, struct rtc_time *tm) { return set_rtc_mmss(tm); }