Skip to content

Commit abce209

Browse files
arndbjwrdegoede
authored andcommitted
platform/x86/amd: pmc: add CONFIG_SERIO dependency
Using the serio subsystem now requires the code to be reachable: x86_64-linux-ld: drivers/platform/x86/amd/pmc.o: in function `amd_pmc_suspend_handler': pmc.c:(.text+0x86c): undefined reference to `serio_bus' Add the usual dependency: as other users of serio use 'select' rather than 'depends on', use the same here. Fixes: 8e60615 ("platform/x86/amd: pmc: Disable IRQ1 wakeup for RN/CZN") Signed-off-by: Arnd Bergmann <[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 e0c4052 commit abce209

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/platform/x86/amd/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ source "drivers/platform/x86/amd/pmf/Kconfig"
88
config AMD_PMC
99
tristate "AMD SoC PMC driver"
1010
depends on ACPI && PCI && RTC_CLASS
11+
select SERIO
1112
help
1213
The driver provides support for AMD Power Management Controller
1314
primarily responsible for S2Idle transactions that are driven from

0 commit comments

Comments
 (0)