rtc: cmos: fix build on non-ACPI platforms
[ Upstream commitdb4e955ae3] 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> Stable-dep-of:83ebb7b303("rtc: cmos: Disable ACPI RTC event on removal") Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
f2ece2c722
commit
45b96601a6
1 changed files with 3 additions and 0 deletions
|
|
@ -1351,6 +1351,9 @@ static void cmos_check_acpi_rtc_status(struct device *dev,
|
|||
{
|
||||
}
|
||||
|
||||
static void rtc_wake_setup(struct device *dev)
|
||||
{
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_PNP
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue