Skip to content

Commit

Permalink
staging: iio: add IIO_ALTVOLTAGE to iio_event_monitor example
Browse files Browse the repository at this point in the history
IIO_ALTVOLTAGE is used by frequency/adf4350 and frequency/ad9523

Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net>
Acked-by: Jonathan Cameron <jic23@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
Peter Meerwald authored and Greg Kroah-Hartman committed Jun 15, 2012
1 parent 33e0c24 commit a216014
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/staging/iio/Documentation/iio_event_monitor.c
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ static const char * const iio_chan_type_name_spec[] = {
[IIO_ANGL] = "angl",
[IIO_TIMESTAMP] = "timestamp",
[IIO_CAPACITANCE] = "capacitance",
[IIO_ALTVOLTAGE] = "altvoltage",
};

static const char * const iio_ev_type_text[] = {
Expand Down Expand Up @@ -92,6 +93,7 @@ static bool event_is_known(struct iio_event_data *event)
case IIO_ANGL:
case IIO_TIMESTAMP:
case IIO_CAPACITANCE:
case IIO_ALTVOLTAGE:
break;
default:
return false;
Expand Down

0 comments on commit a216014

Please sign in to comment.