[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4E14BB6C.9040804@cam.ac.uk>
Date: Wed, 06 Jul 2011 20:45:48 +0100
From: Jonathan Cameron <jic23@....ac.uk>
To: Bryan Freed <bfreed@...omium.org>
CC: linux-kernel@...r.kernel.org, gregkh@...e.de, rklein@...dia.com,
linux-iio@...r.kernel.org
Subject: Re: [PATCH 2/3] staging:iio: Add an iio channel type string to support
proximity sensors.
On 07/06/11 19:56, Bryan Freed wrote:
> Add "proximity" to the iio_chan_type_name_spec_shared string list to
> support proximity sensors.
> Now this list fully matches the declared iio_chan_type enums.
>
> Signed-off-by: Bryan Freed <bfreed@...omium.org>
Acked-by: Jonathan Cameron <jic23@....ac.uk>
> ---
> drivers/staging/iio/industrialio-core.c | 1 +
> 1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/drivers/staging/iio/industrialio-core.c b/drivers/staging/iio/industrialio-core.c
> index 4987bf4..ef9a11e 100644
> --- a/drivers/staging/iio/industrialio-core.c
> +++ b/drivers/staging/iio/industrialio-core.c
> @@ -53,6 +53,7 @@ static const char * const iio_chan_type_name_spec_shared[] = {
> [IIO_MAGN] = "magn",
> [IIO_LIGHT] = "illuminance",
> [IIO_INTENSITY] = "intensity",
> + [IIO_PROXIMITY] = "proximity",
> [IIO_TEMP] = "temp",
> [IIO_INCLI] = "incli",
> [IIO_ROT] = "rot",
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists