input: sensor: add kconfig and makefile entity for stk3x1x driver
Kconfig and makefile entity is required to build Sitronix stk3x1x
light/proximity sensor driver.
Change-Id: I8a64d6b11ef7bae72af09744346ab90b762e1c33
Signed-off-by: Bingzhe Cai <bingzhec@codeaurora.org>
diff --git a/drivers/input/misc/Kconfig b/drivers/input/misc/Kconfig
index a052bd3..aaa2fc8 100644
--- a/drivers/input/misc/Kconfig
+++ b/drivers/input/misc/Kconfig
@@ -692,4 +692,16 @@
default "0"
help
this provide the sensor position setting , value is between 0~7
+
+config SENSORS_STK3X1X
+ tristate "STK3X1X device driver"
+ depends on I2C
+ default n
+ help
+ Say Y here you want to enable for the sitronix stk3x1x
+ light and proximity sensors driver.
+
+ To compile this driver as a module, choose M here: the
+ module will be called stk3x1x.
+
endif
diff --git a/drivers/input/misc/Makefile b/drivers/input/misc/Makefile
index 4f29e05..445fba0 100644
--- a/drivers/input/misc/Makefile
+++ b/drivers/input/misc/Makefile
@@ -64,3 +64,4 @@
obj-$(CONFIG_BMP18X) += bmp18x-core.o
obj-$(CONFIG_BMP18X_I2C) += bmp18x-i2c.o
obj-$(CONFIG_SENSORS_MMA8X5X) += mma8x5x.o
+obj-$(CONFIG_SENSORS_STK3X1X) += stk3x1x.o