[openwrt/openwrt] kernel: kmod-input-gpio-keys-polled depends on kmod-input-core

LEDE Commits lede-commits at lists.infradead.org
Fri Aug 12 02:07:55 PDT 2022


dangole pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/1291a682f855f6d8814134771f9923f4f80b524f

commit 1291a682f855f6d8814134771f9923f4f80b524f
Author: Daniel Golle <daniel at makrotopia.org>
AuthorDate: Fri Aug 12 11:02:44 2022 +0200

    kernel: kmod-input-gpio-keys-polled depends on kmod-input-core
    
    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 at makrotopia.org>
---
 package/kernel/linux/modules/input.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/kernel/linux/modules/input.mk b/package/kernel/linux/modules/input.mk
index b0ab3360cc..6270cdeb3b 100644
--- a/package/kernel/linux/modules/input.mk
+++ b/package/kernel/linux/modules/input.mk
@@ -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




More information about the lede-commits mailing list