From eb72037e1ae2aafb03875c55161d611b3a4fda85 Mon Sep 17 00:00:00 2001 From: Wang Jie Date: Thu, 5 Sep 2019 16:23:18 +0800 Subject: [PATCH] input: sensors: program the sensor driver into the kernel. Modify the code to sensor driver into the kernel and make the compilation successful. Change-Id: I3226b5df0084a80c63b7ad59aec7c759b3165a7b Signed-off-by: Wang Jie Signed-off-by: Tao Huang --- drivers/input/Kconfig | 2 ++ drivers/input/Makefile | 1 + 2 files changed, 3 insertions(+) diff --git a/drivers/input/Kconfig b/drivers/input/Kconfig index 31a41c147f59..1c80fe7b3c4a 100644 --- a/drivers/input/Kconfig +++ b/drivers/input/Kconfig @@ -199,6 +199,8 @@ source "drivers/input/touchscreen/Kconfig" source "drivers/input/remotectl/Kconfig" +source "drivers/input/sensors/Kconfig" + source "drivers/input/misc/Kconfig" source "drivers/input/rmi4/Kconfig" diff --git a/drivers/input/Makefile b/drivers/input/Makefile index c03a47c073dc..5cd16233ce08 100644 --- a/drivers/input/Makefile +++ b/drivers/input/Makefile @@ -25,6 +25,7 @@ obj-$(CONFIG_INPUT_JOYSTICK) += joystick/ obj-$(CONFIG_INPUT_TABLET) += tablet/ obj-$(CONFIG_INPUT_TOUCHSCREEN) += touchscreen/ obj-$(CONFIG_ROCKCHIP_REMOTECTL)+= remotectl/ +obj-$(CONFIG_SENSOR_DEVICE) += sensors/ obj-$(CONFIG_INPUT_MISC) += misc/ obj-$(CONFIG_INPUT_APMPOWER) += apm-power.o