[openwrt/openwrt] kernel: kmod-input-polldev: Depend on kernel 5.10

LEDE Commits lede-commits at lists.infradead.org
Wed Aug 10 15:52:13 PDT 2022


hauke pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/54878fbbdd6c3a7b9354ff800ddaeecaf1b6e13a

commit 54878fbbdd6c3a7b9354ff800ddaeecaf1b6e13a
Author: Hauke Mehrtens <hauke at hauke-m.de>
AuthorDate: Sun Aug 7 15:26:21 2022 +0200

    kernel: kmod-input-polldev: Depend on kernel 5.10
    
    The input-polldev.ko kernel module was removed from kernel 5.11. The
    normal input implementation now supports polling.
    
    Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
---
 package/kernel/linux/modules/input.mk | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/package/kernel/linux/modules/input.mk b/package/kernel/linux/modules/input.mk
index 7f042e8535..b0ab3360cc 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 +kmod-input-polldev
+  DEPENDS:=@GPIO_SUPPORT +LINUX_5_10:kmod-input-polldev
   KCONFIG:= \
 	CONFIG_KEYBOARD_GPIO_POLLED \
 	CONFIG_INPUT_KEYBOARD=y
@@ -145,7 +145,7 @@ $(eval $(call KernelPackage,input-joydev))
 define KernelPackage/input-polldev
   SUBMENU:=$(INPUT_MODULES_MENU)
   TITLE:=Polled Input device support
-  DEPENDS:=+kmod-input-core
+  DEPENDS:=+kmod-input-core @LINUX_5_10
   KCONFIG:=CONFIG_INPUT_POLLDEV
   FILES:=$(LINUX_DIR)/drivers/input/input-polldev.ko
 endef




More information about the lede-commits mailing list