Skip to content

Commit 707f0c2

Browse files
committed
platform/x86: amd-pmc: Make CONFIG_AMD_PMC depend on RTC_CLASS
Since the "Add special handling for timer based S0i3 wakeup" changes the amd-pmc code now relies on symbols from the RTC-class code, add a dependency for this to Kconfig. Fixes: 5934840 ("platform/x86: amd-pmc: Add special handling for timer based S0i3 wakeup") Cc: Mario Limonciello <[email protected]> Reported-by: Randy Dunlap <[email protected]> Signed-off-by: Hans de Goede <[email protected]> Acked-by: Mario Limonciello <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent 287273a commit 707f0c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/platform/x86/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ config ACER_WMI
185185

186186
config AMD_PMC
187187
tristate "AMD SoC PMC driver"
188-
depends on ACPI && PCI
188+
depends on ACPI && PCI && RTC_CLASS
189189
help
190190
The driver provides support for AMD Power Management Controller
191191
primarily responsible for S2Idle transactions that are driven from

0 commit comments

Comments
 (0)