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"