[PATCH] kernel: add kernel module support for input sparse devices
Xiaojun Liu
xiaojun.liu at silicom.co.il
Mon Nov 27 22:20:17 PST 2023
add kernel module support for input sparse devices
Signed-off-by: Xiaojun Liu mailto:xiaojun.liu at silicom.co.il
--
package/kernel/linux/modules/input.mk | 15 +++++++++++++++
1 file changed, 15 insertions(+)
diff --git a/package/kernel/linux/modules/input.mk b/package/kernel/linux/modules/input.mk
index 92587b1874..26c0007c1c 100644
--- a/package/kernel/linux/modules/input.mk
+++ b/package/kernel/linux/modules/input.mk
@@ -157,6 +157,21 @@ endef
$(eval $(call KernelPackage,input-matrixkmap))
+define KernelPackage/input-sparsekmap
+ SUBMENU:=$(INPUT_MODULES_MENU)
+ TITLE:=Input sparse devices support
+ DEPENDS:=+kmod-input-core
+ KCONFIG:= \
+ CONFIG_INPUT_SPARSEKMAP=y
+ FILES:=$(LINUX_DIR)/drivers/input/sparse-keymap.ko
+ AUTOLOAD:=$(call AutoProbe,sparse-keymap)
+endef
+
+define KernelPackage/input-sparsekmap/description
+ Kernel module support for input sparse devices
+endef
+
+$(eval $(call KernelPackage,input-sparsekmap))
define KernelPackage/input-touchscreen-ads7846
SUBMENU:=$(INPUT_MODULES_MENU)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kernel add kernel module support for input sparse devices.patch
Type: application/octet-stream
Size: 827 bytes
Desc: kernel add kernel module support for input sparse devices.patch
URL: <http://lists.openwrt.org/pipermail/openwrt-devel/attachments/20231128/8bcb4d7c/attachment.obj>
More information about the openwrt-devel
mailing list