Skip to content

Commit db4e955

Browse files
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>
1 parent 0782b66 commit db4e955

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

drivers/rtc/rtc-cmos.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1346,6 +1346,9 @@ static void cmos_check_acpi_rtc_status(struct device *dev,
13461346
{
13471347
}
13481348

1349+
static void rtc_wake_setup(struct device *dev)
1350+
{
1351+
}
13491352
#endif
13501353

13511354
#ifdef CONFIG_PNP

0 commit comments

Comments
 (0)