From: Krzysztof Kozlowski Date: Sat, 11 Mar 2023 09:40:21 +0000 (+0100) Subject: rtc: omap: include header for omap_rtc_power_off_program prototype X-Git-Tag: v6.1.28~131 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=5f5876ae295aad3a55466f5e447d0bc6324bfc51;p=users%2Fdwmw2%2Flinux.git rtc: omap: include header for omap_rtc_power_off_program prototype [ Upstream commit f69c2b5420497b7a54181ce170d682cbeb1f119f ] Non-static functions should have a prototype: drivers/rtc/rtc-omap.c:410:5: error: no previous prototype for ‘omap_rtc_power_off_program’ [-Werror=missing-prototypes] Fixes: 6256f7f7f217 ("rtc: OMAP: Add support for rtc-only mode") Signed-off-by: Krzysztof Kozlowski Link: https://lore.kernel.org/r/20230311094021.79730-1-krzysztof.kozlowski@linaro.org Signed-off-by: Alexandre Belloni Signed-off-by: Sasha Levin --- diff --git a/drivers/rtc/rtc-omap.c b/drivers/rtc/rtc-omap.c index 4d4f3b1a73093..73634a3ccfd3b 100644 --- a/drivers/rtc/rtc-omap.c +++ b/drivers/rtc/rtc-omap.c @@ -25,6 +25,7 @@ #include #include #include +#include /* * The OMAP RTC is a year/month/day/hours/minutes/seconds BCD clock