platform/x86: amd-pmc: Make CONFIG_AMD_PMC depend on RTC_CLASS
authorHans de Goede <hdegoede@redhat.com>
Tue, 2 Nov 2021 15:32:56 +0000 (16:32 +0100)
committerHans de Goede <hdegoede@redhat.com>
Tue, 16 Nov 2021 09:19:47 +0000 (10:19 +0100)
commit707f0c290f2b0a16c0222bb3272079cfe5af831d
tree437bd92ffee15eff6e5683225c1856f64d51b657
parent287273a80be5d45d59d1742557cab69cabf0ef3c
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: 59348401ebed ("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
drivers/platform/x86/Kconfig