rtc: cmos: fix build on non-ACPI platforms
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Tue, 18 Oct 2022 20:35:11 +0000 (22:35 +0200)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Tue, 18 Oct 2022 20:36:54 +0000 (22:36 +0200)
commitdb4e955ae333567dea02822624106c0b96a2f84f
tree94ac370f765f844a222c7e5c521402c7840da2be
parent0782b66ed2fbb035dda76111df0954515e417b24
rtc: cmos: fix build on non-ACPI platforms

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@intel.com>
Link: https://lore.kernel.org/r/20221018203512.2532407-1-alexandre.belloni@bootlin.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/rtc/rtc-cmos.c