diff options
author | Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com> | 2014-04-29 01:51:00 +0200 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2014-04-29 23:09:14 +0200 |
commit | 5082f405b74ad1b69aa9595555ce55b75b59b2ec (patch) | |
tree | 97a7d916b880640557dd0b3ffce34acaa43fa820 /drivers/iio | |
parent | IIO: core: Modify scan element type (diff) | |
download | linux-5082f405b74ad1b69aa9595555ce55b75b59b2ec.tar.xz linux-5082f405b74ad1b69aa9595555ce55b75b59b2ec.zip |
IIO: core: Add quaternion modifier
Added quaternion in the list of supported modifiers.
Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/iio')
-rw-r--r-- | drivers/iio/industrialio-core.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/iio/industrialio-core.c b/drivers/iio/industrialio-core.c index 59540859bfae..de8b1c2ed4b4 100644 --- a/drivers/iio/industrialio-core.c +++ b/drivers/iio/industrialio-core.c @@ -84,6 +84,7 @@ static const char * const iio_modifier_names[] = { [IIO_MOD_LIGHT_RED] = "red", [IIO_MOD_LIGHT_GREEN] = "green", [IIO_MOD_LIGHT_BLUE] = "blue", + [IIO_MOD_QUATERNION] = "quaternion", }; /* relies on pairs of these shared then separate */ |