Commit 707f0c29 authored by Hans de Goede's avatar Hans de Goede

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: 59348401 ("platform/x86: amd-pmc: Add special handling for timer based S0i3 wakeup")
Cc: Mario Limonciello <mario.limonciello@amd.com>
Reported-by: default avatarRandy Dunlap <rdunlap@infradead.org>
Signed-off-by: default avatarHans de Goede <hdegoede@redhat.com>
Acked-by: default avatarMario Limonciello <mario.limonciello@amd.com>
Link: https://lore.kernel.org/r/20211102153256.76956-1-hdegoede@redhat.com
parent 287273a8
...@@ -185,7 +185,7 @@ config ACER_WMI ...@@ -185,7 +185,7 @@ config ACER_WMI
config AMD_PMC config AMD_PMC
tristate "AMD SoC PMC driver" tristate "AMD SoC PMC driver"
depends on ACPI && PCI depends on ACPI && PCI && RTC_CLASS
help help
The driver provides support for AMD Power Management Controller The driver provides support for AMD Power Management Controller
primarily responsible for S2Idle transactions that are driven from primarily responsible for S2Idle transactions that are driven from
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment