diff options
author | Anas Nashif <anas.nashif@intel.com> | 2016-10-07 18:06:13 -0400 |
---|---|---|
committer | Anas Nashif <nashif@linux.intel.com> | 2016-10-27 22:14:32 +0000 |
commit | b152246a833782058917c16392774c698d50c24d (patch) | |
tree | 99d264fb1f3f6cfbc8e2fcd231757dec2875c1ba | |
parent | adf8a30b80563b6b226e283feb1ce23f7a7671b3 (diff) |
sensors: make grove sensors depend on CONFIG_SENSOR
The grove sensors use the sensor interface, so make them depend
on it just like the other sensors.
Change-Id: I9b62a3fa26f54dd683c65ca154c1af7c7c92772f
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
-rw-r--r-- | drivers/grove/Kconfig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/grove/Kconfig b/drivers/grove/Kconfig index fd8c8331f..a45626a0c 100644 --- a/drivers/grove/Kconfig +++ b/drivers/grove/Kconfig @@ -60,7 +60,7 @@ config GROVE_LCD_RGB_I2C_MASTER_DEV_NAME config GROVE_LIGHT_SENSOR bool prompt "Enable the Seeed Grove Light Sensor" - depends on GROVE && ADC && NEWLIB_LIBC + depends on SENSOR && GROVE && ADC && NEWLIB_LIBC default n help Setting this value will enable dirver support for the Grove Light @@ -95,7 +95,7 @@ config GROVE_LIGHT_SENSOR_ADC_CHANNEL config GROVE_TEMPERATURE_SENSOR bool prompt "Enable the Seeed Grove Temperature Sensor" - depends on GROVE && ADC && NEWLIB_LIBC + depends on SENSOR && GROVE && ADC && NEWLIB_LIBC default n help Setting this value will enable dirver support for the Grove |