diff options
author | Gwendal Grignou <gwendal@chromium.org> | 2017-01-24 14:41:41 +0100 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2017-01-28 15:07:46 +0000 |
commit | d732248fdb5c5434f2ab0c258ce25a7e2ff2521a (patch) | |
tree | c8fd12aca0726be5392cd443809e80926ebaee58 /include | |
parent | b2d226caecfc2dbf85b2abd2814b42627c5dde0a (diff) | |
download | linux-d732248fdb5c5434f2ab0c258ce25a7e2ff2521a.tar.gz linux-d732248fdb5c5434f2ab0c258ce25a7e2ff2521a.tar.bz2 linux-d732248fdb5c5434f2ab0c258ce25a7e2ff2521a.zip |
iio: cros_ec: Add cros_ec barometer driver
Handle the barometer sensor presented by the ChromeOS EC Sensor hub.
Signed-off-by: Gwendal Grignou <gwendal@chromium.org>
Signed-off-by: Enric Balletbo Serra <enric.balletbo@collabora.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/mfd/cros_ec_commands.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/mfd/cros_ec_commands.h b/include/linux/mfd/cros_ec_commands.h index 1683003603f3..098c3501ad2c 100644 --- a/include/linux/mfd/cros_ec_commands.h +++ b/include/linux/mfd/cros_ec_commands.h @@ -1441,7 +1441,8 @@ enum motionsensor_type { MOTIONSENSE_TYPE_PROX = 3, MOTIONSENSE_TYPE_LIGHT = 4, MOTIONSENSE_TYPE_ACTIVITY = 5, - MOTIONSENSE_TYPE_MAX + MOTIONSENSE_TYPE_BARO = 6, + MOTIONSENSE_TYPE_MAX, }; /* List of motion sensor locations. */ |