summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBeomho Seo <beomho.seo@samsung.com>2013-08-14 11:54:56 +0900
committerChanho Park <chanho61.park@samsung.com>2014-11-18 11:43:59 +0900
commit96561313b9bda76361a81eae7d8e389a062cb76c (patch)
treef4d03f65ceacf815bfd4b5e5e37fa78211f1ac4d
parentc057ff7234555c1b6452ae44796d2564f1c43dd8 (diff)
downloadlinux-3.10-96561313b9bda76361a81eae7d8e389a062cb76c.tar.gz
linux-3.10-96561313b9bda76361a81eae7d8e389a062cb76c.tar.bz2
linux-3.10-96561313b9bda76361a81eae7d8e389a062cb76c.zip
iio:add proximity/light sensor cm36651 driver to Kconfig and Makefile
- Add cm36651 proximity/light sensor to Kconfig to enable compilation - Add cm36651 proximity/light sensor to Makefile to enable compilation Signed-off-by: Beomho Seo <beomho.seo@samsung.com>
-rw-r--r--drivers/iio/light/Kconfig11
-rw-r--r--drivers/iio/light/Makefile1
2 files changed, 12 insertions, 0 deletions
diff --git a/drivers/iio/light/Kconfig b/drivers/iio/light/Kconfig
index 176ef6dfad7..ad1d60a7994 100644
--- a/drivers/iio/light/Kconfig
+++ b/drivers/iio/light/Kconfig
@@ -75,4 +75,15 @@ config HID_SENSOR_ALS
Say yes here to build support for the HID SENSOR
Ambient light sensor.
+config CM36651
+ depends on I2C
+ tristate "CM36651 driver"
+ default n
+ help
+ Sya Y here if you use cm36651.
+ This option enables proximity & RGB sensor using
+ Capella cm36651 device driver.
+
+ Say N here if you do not use cm36651.
+
endmenu
diff --git a/drivers/iio/light/Makefile b/drivers/iio/light/Makefile
index 9621b18927f..53bf410dc50 100644
--- a/drivers/iio/light/Makefile
+++ b/drivers/iio/light/Makefile
@@ -8,3 +8,4 @@ obj-$(CONFIG_SENSORS_TSL2563) += tsl2563.o
obj-$(CONFIG_VCNL4000) += vcnl4000.o
obj-$(CONFIG_HID_SENSOR_ALS) += hid-sensor-als.o
obj-$(CONFIG_GP2AP002A00F) += gp2ap002a00f.o
+obj-$(CONFIG_CM36651) += cm36651.o