diff options
| author | 2017-01-24 14:41:41 +0100 | |
|---|---|---|
| committer | 2017-01-28 15:07:46 +0000 | |
| commit | d732248fdb5c5434f2ab0c258ce25a7e2ff2521a (patch) | |
| tree | c8fd12aca0726be5392cd443809e80926ebaee58 /include/linux/mfd | |
| parent | iio: stx104: Utilize devm_ functions in driver probe callback (diff) | |
| download | linux-dev-d732248fdb5c5434f2ab0c258ce25a7e2ff2521a.tar.xz linux-dev-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/linux/mfd')
| -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. */ |
