rtc: cmos: fix build on non-ACPI platforms
[email protected]
maintainerPATCH 1/1 rtc: cmos: fix build on non-ACPI platforms
From: Alexandre Belloni <[email protected]>
Now that rtc_wake_setup is called outside of cmos_wake_setup, it also need to be defined on non-ACPI platforms.
Reported-by kernel test robot <[email protected]>
Signed-off-by Alexandre Belloni <[email protected]>
--- drivers/rtc/rtc-cmos.c | 3 +++ 1 file changed, 3 insertions(+)
drivers/rtc/rtc-cmos.c +3 -0
@@ -1346,6 +1346,9 @@ static void cmos_check_acpi_rtc_status(struct device *dev, { } +static void rtc_wake_setup (struct device *dev) +{ +}#endif #ifdef CONFIG_PNP
Signature · 1 line
2.37.3