Merge git://git.kernel.org/pub/scm/linux/kernel/git/cmetcalf/linux-tile
[cascardo/linux.git] / tools / iio / iio_event_monitor.c
index 8d7d979..d9b7e0f 100644 (file)
@@ -56,6 +56,7 @@ static const char * const iio_chan_type_name_spec[] = {
        [IIO_CONCENTRATION] = "concentration",
        [IIO_RESISTANCE] = "resistance",
        [IIO_PH] = "ph",
+       [IIO_UVINDEX] = "uvindex",
 };
 
 static const char * const iio_ev_type_text[] = {
@@ -147,6 +148,7 @@ static bool event_is_known(struct iio_event_data *event)
        case IIO_CONCENTRATION:
        case IIO_RESISTANCE:
        case IIO_PH:
+       case IIO_UVINDEX:
                break;
        default:
                return false;