Skip to content

Commit f69c2b5

Browse files
krzkalexandrebelloni
authored andcommitted
rtc: omap: include header for omap_rtc_power_off_program prototype
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: 6256f7f ("rtc: OMAP: Add support for rtc-only mode") Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Link: https://lore.kernel.org/r/20230311094021.79730-1-krzysztof.kozlowski@linaro.org Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
1 parent 4d9890a commit f69c2b5

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

drivers/rtc/rtc-omap.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
#include <linux/platform_device.h>
2626
#include <linux/pm_runtime.h>
2727
#include <linux/rtc.h>
28+
#include <linux/rtc/rtc-omap.h>
2829

2930
/*
3031
* The OMAP RTC is a year/month/day/hours/minutes/seconds BCD clock

0 commit comments

Comments
 (0)