OSDN Git Service

platform/x86/amd: pmc: add CONFIG_SERIO dependency
authorArnd Bergmann <arnd@arndb.de>
Fri, 27 Jan 2023 09:39:44 +0000 (10:39 +0100)
committerHans de Goede <hdegoede@redhat.com>
Mon, 30 Jan 2023 13:37:22 +0000 (14:37 +0100)
commitabce209d18fd26e865b2406cc68819289db973f9
treebee87e34d91fe3b385ddfc114905034e0a297b1a
parente0c40529ff942a985eb0f3dacf18d35ee4dbb03d
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: 8e60615e8932 ("platform/x86/amd: pmc: Disable IRQ1 wakeup for RN/CZN")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Link: https://lore.kernel.org/r/20230127093950.2368575-1-arnd@kernel.org
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
drivers/platform/x86/amd/Kconfig