drivers, input: add sensors to compile

Change-Id: I7227ab9d989df3adef73883f7be2860d1742c225
Signed-off-by: Zorro Liu <lyx@rock-chips.com>
This commit is contained in:
Zorro Liu 2016-07-04 14:18:23 +08:00 committed by Gerrit Code Review
parent 2ba3a6ff91
commit 03b310c860
3 changed files with 4 additions and 1 deletions

View 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

View 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

View File

@ -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"