From 03b310c8603f08750c726688e7ccf2c414672b96 Mon Sep 17 00:00:00 2001 From: Zorro Liu Date: Mon, 4 Jul 2016 14:18:23 +0800 Subject: [PATCH] drivers, input: add sensors to compile Change-Id: I7227ab9d989df3adef73883f7be2860d1742c225 Signed-off-by: Zorro Liu --- drivers/input/Kconfig | 2 ++ drivers/input/Makefile | 1 + drivers/input/sensors/Kconfig | 2 +- 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/input/Kconfig b/drivers/input/Kconfig index d6ae5fb197cf..c71fde46e9e9 100644 --- a/drivers/input/Kconfig +++ b/drivers/input/Kconfig @@ -214,6 +214,8 @@ source "drivers/input/touchscreen/Kconfig" source "drivers/input/remotectl/Kconfig" +source "drivers/input/sensors/Kconfig" + source "drivers/input/misc/Kconfig" endif diff --git a/drivers/input/Makefile b/drivers/input/Makefile index 0dce1d891242..335ae935fcb4 100644 --- a/drivers/input/Makefile +++ b/drivers/input/Makefile @@ -24,6 +24,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 diff --git a/drivers/input/sensors/Kconfig b/drivers/input/sensors/Kconfig index c1314e5cd776..1c46745b1492 100755 --- a/drivers/input/sensors/Kconfig +++ b/drivers/input/sensors/Kconfig @@ -6,7 +6,7 @@ comment "handle all sensors" menuconfig SENSOR_DEVICE tristate "handle angle,accel,compass,gyroscope,lsensor psensor etc" - default y + default n if SENSOR_DEVICE source "drivers/input/sensors/angle/Kconfig" -- 2.34.1