Skip to content

Commit 5ee473b

Browse files
Shyam Sundar S Kjwrdegoede
authored andcommitted
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]>
1 parent 4dbd6e6 commit 5ee473b

File tree

1 file changed

+1
-0
lines changed
  • drivers/platform/x86/amd/pmc

1 file changed

+1
-0
lines changed

drivers/platform/x86/amd/pmc/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
config AMD_PMC
77
tristate "AMD SoC PMC driver"
88
depends on ACPI && PCI && RTC_CLASS && AMD_NB
9+
depends on SUSPEND
910
select SERIO
1011
help
1112
The driver provides support for AMD Power Management Controller

0 commit comments

Comments
 (0)