From 54878fbbdd6c3a7b9354ff800ddaeecaf1b6e13a Mon Sep 17 00:00:00 2001 From: Hauke Mehrtens Date: Sun, 7 Aug 2022 15:26:21 +0200 Subject: [PATCH] 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 --- 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 -- 2.30.2