Commit d9324fb3 authored by Alexandre Belloni's avatar Alexandre Belloni Committed by Greg Kroah-Hartman
Browse files

rtc: cmos: fix build on non-ACPI platforms



[ Upstream commit db4e955a ]

Now that rtc_wake_setup is called outside of cmos_wake_setup, it also need
to be defined on non-ACPI platforms.

Reported-by: default avatarkernel test robot <lkp@intel.com>
Link: https://lore.kernel.org/r/20221018203512.2532407-1-alexandre.belloni@bootlin.com


Signed-off-by: default avatarAlexandre Belloni <alexandre.belloni@bootlin.com>
Stable-dep-of: 83ebb7b3 ("rtc: cmos: Disable ACPI RTC event on removal")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent fe46b930
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -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