drivers, input: add sensors to compile
authorZorro Liu <lyx@rock-chips.com>
Mon, 4 Jul 2016 06:18:23 +0000 (14:18 +0800)
committerGerrit Code Review <gerrit@rock-chips.com>
Tue, 12 Jul 2016 06:11:53 +0000 (14:11 +0800)
Change-Id: I7227ab9d989df3adef73883f7be2860d1742c225
Signed-off-by: Zorro Liu <lyx@rock-chips.com>
drivers/input/Kconfig
drivers/input/Makefile
drivers/input/sensors/Kconfig

index d6ae5fb197cf7286b63a16691211472944c541d4..c71fde46e9e93c9e0afcf6ae89fd149ad053e532 100644 (file)
@@ -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
index 0dce1d8912424eac70ee20310d6c5c9f211d984c..335ae935fcb41616c73469445a6edede7c02f6e4 100644 (file)
@@ -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
index c1314e5cd7764eb56a3fa76b66fba0c485057827..1c46745b149224b09a19a066e86d9a34ea9b2c7f 100755 (executable)
@@ -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"