diff options
author | Shyam Sundar S K <[email protected]> | 2023-08-26 21:42:13 +0530 |
---|---|---|
committer | Hans de Goede <[email protected]> | 2023-08-28 10:43:57 +0200 |
commit | 5ee473bbf43086f23eb2cd1b5a50498438e296a6 (patch) | |
tree | 8549c1f5928c5824311df60a44af8482d71607ab | |
parent | 4dbd6e61adc7e52dd1c9165f0ccaa90806611e40 (diff) |
platform/x86/amd/pmc: Fix build error with randconfig
on x86_64:
CONFIG_SUSPEND is not set
CONFIG_PM is not set
this leads to build failure of the AMD PMC driver. Add a 'depends on'
in the Kconfig.
Reported-by: Randy Dunlap <[email protected]>
Closes: https://lore.kernel.org/lkml/[email protected]/
Signed-off-by: Shyam Sundar S K <[email protected]>
Tested-by: Randy Dunlap <[email protected]>
Acked-by: Randy Dunlap <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Hans de Goede <[email protected]>
Signed-off-by: Hans de Goede <[email protected]>
-rw-r--r-- | drivers/platform/x86/amd/pmc/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/platform/x86/amd/pmc/Kconfig b/drivers/platform/x86/amd/pmc/Kconfig index 8db9e82de00b..883c0a95ac0c 100644 --- a/drivers/platform/x86/amd/pmc/Kconfig +++ b/drivers/platform/x86/amd/pmc/Kconfig @@ -6,6 +6,7 @@ config AMD_PMC tristate "AMD SoC PMC driver" depends on ACPI && PCI && RTC_CLASS && AMD_NB + depends on SUSPEND select SERIO help The driver provides support for AMD Power Management Controller |