Skip to content

Commit

Permalink
platform/x86: amd-pmc: Make CONFIG_AMD_PMC depend on RTC_CLASS
Browse files Browse the repository at this point in the history
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 <mario.limonciello@amd.com>
Reported-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Mario Limonciello <mario.limonciello@amd.com>
Link: https://lore.kernel.org/r/20211102153256.76956-1-hdegoede@redhat.com
  • Loading branch information
Hans de Goede committed Nov 16, 2021
1 parent 287273a commit 707f0c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/platform/x86/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 707f0c2

Please sign in to comment.