From: Hauke Mehrtens Date: Sun, 7 Aug 2022 13:26:21 +0000 (+0200) Subject: kernel: kmod-input-polldev: Depend on kernel 5.10 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=54878fbbdd6c3a7b9354ff800ddaeecaf1b6e13a;p=openwrt%2Fstaging%2Fnbd.git 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 --- 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