From: Alexandre Belloni <alexandre.belloni@xxxxxxxxxxx> commit db4e955ae333567dea02822624106c0b96a2f84f upstream. 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 <lkp@xxxxxxxxx> Link: https://lore.kernel.org/r/20221018203512.2532407-1-alexandre.belloni@xxxxxxxxxxx Signed-off-by: Alexandre Belloni <alexandre.belloni@xxxxxxxxxxx> Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> --- drivers/rtc/rtc-cmos.c | 3 +++ 1 file changed, 3 insertions(+) --- a/drivers/rtc/rtc-cmos.c +++ b/drivers/rtc/rtc-cmos.c @@ -1346,6 +1346,9 @@ static void cmos_check_acpi_rtc_status(s { } +static void rtc_wake_setup(struct device *dev) +{ +} #endif #ifdef CONFIG_PNP