kernel: kmod-input-gpio-keys-polled depends on kmod-input-core
authorDaniel Golle <daniel@makrotopia.org>
Fri, 12 Aug 2022 09:02:44 +0000 (11:02 +0200)
committerDaniel Golle <daniel@makrotopia.org>
Fri, 12 Aug 2022 09:05:53 +0000 (11:05 +0200)
While kmod-input-core was previously indirectly selected by
kmod-input-polldev, this is now only the case on Linux 5.10.
Select kmod-input-core as dependency independently of the kernel
version to fix build error:

Package kmod-input-gpio-keys-polled is missing dependencies for the following libraries:
input-core.ko

Fixes: 54878fbbdd ("kernel: kmod-input-polldev: Depend on kernel 5.10")
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
package/kernel/linux/modules/input.mk

index b0ab3360cc9ae4c5035d6a8cc9b9ed9a54bafbc9..6270cdeb3b09db2e073d978f9e5a47e621c70ee8 100644 (file)
@@ -92,7 +92,7 @@ $(eval $(call KernelPackage,input-gpio-keys))
 define KernelPackage/input-gpio-keys-polled
   SUBMENU:=$(INPUT_MODULES_MENU)
   TITLE:=Polled GPIO key support
-  DEPENDS:=@GPIO_SUPPORT +LINUX_5_10:kmod-input-polldev
+  DEPENDS:=@GPIO_SUPPORT +kmod-input-core +LINUX_5_10:kmod-input-polldev
   KCONFIG:= \
        CONFIG_KEYBOARD_GPIO_POLLED \
        CONFIG_INPUT_KEYBOARD=y