platform/x86: amd-pmc: Make CONFIG_AMD_PMC depend on RTC_CLASS
PATCH 1/1 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.
--- drivers/platform/x86/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/platform/x86/Kconfig +1 -1
@@ -185,7 +185,7 @@ config ACER_WMI config AMD_PMC tristate "AMD SoC PMC driver" - depends on ACPI && PCI + depends on ACPI && PCI && RTC_CLASS help The driver provides support for AMD Power Management Controller primarily responsible for S2Idle transactions that are driven from
Signature · 1 line
2.31.1
[Public]
Quoted 15 lines
-----Original Message-----
From: Hans de Goede <[email protected]>
Sent: Tuesday, November 2, 2021 10:33
To: Mark Gross <[email protected]>; Andy Shevchenko <[email protected]>
Cc: Hans de Goede <[email protected]>; platform-driver- [email protected]; Limonciello, Mario <[email protected]>; Randy Dunlap <[email protected]>
Subject: [PATCH] platform/x86: amd-pmc: MakeCONFIG_AMD_PMCdepend onRTC_CLASSSince 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.
Quoted 5 lines
Fixes 59348401ebed ("platform/x86: amd-pmc: Add special handling for timerbased S0i3 wakeup")
Cc Mario Limonciello <[email protected]>Reported-by Randy Dunlap <[email protected]>Signed-off-by Hans de Goede <[email protected]>
Thanks!
Quoted 19 lines
--- drivers/platform/x86/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/platform/x86/Kconfig +1
-2@@ -185,7 +185,7 @@ config ACER_WMI config AMD_PMC tristate "AMD SoC PMC driver" - depends on ACPI && PCI + depends on ACPI && PCI && RTC_CLASS help The driver provides support for AMD Power Management Controller primarily responsible for S2Idle transactions that are driven from --2.31.1