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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 31 Dec 2022 12:14:34 +0000 (13:14 +0100)
commitd9324fb3eed72c984e74f527a96af9200f312b83
tree765355cd9335231057d1945346afe1be4bfd4279
parentfe46b9303e32b8e40199c70bd8a8e1acda1a4f8d
rtc: cmos: fix build on non-ACPI platforms

[ Upstream commit db4e955ae333567dea02822624106c0b96a2f84f ]

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: 83ebb7b3036d ("rtc: cmos: Disable ACPI RTC event on removal")
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/rtc/rtc-cmos.c