From: Zorro Liu Date: Mon, 4 Jul 2016 06:18:23 +0000 (+0800) Subject: drivers, input: add sensors to compile X-Git-Tag: firefly_0821_release~2177 X-Git-Url: http://plrg.eecs.uci.edu/git/?p=firefly-linux-kernel-4.4.55.git;a=commitdiff_plain;h=03b310c8603f08750c726688e7ccf2c414672b96 drivers, input: add sensors to compile Change-Id: I7227ab9d989df3adef73883f7be2860d1742c225 Signed-off-by: Zorro Liu --- 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"