staging:iio: chan_spec - take extend_name constant.
authorJonathan Cameron <jic23@kernel.org>
Fri, 13 Apr 2012 09:24:21 +0000 (10:24 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 13 Apr 2012 17:59:38 +0000 (10:59 -0700)
I can't envision a case where this is not constant and we
don't seem to have any in tree, so lets clear up this loose
end.

Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/iio/iio.h

index 833a849320779b6d9a1f5db0f2b256f56ab05ed5..48248122ee4fdb37b7346868456423a8ab1f09b2 100644 (file)
@@ -164,7 +164,7 @@ struct iio_chan_spec {
        long                    info_mask;
        long                    event_mask;
        const struct iio_chan_spec_ext_info *ext_info;
-       char                    *extend_name;
+       const char              *extend_name;
        const char              *datasheet_name;
        unsigned                processed_val:1;
        unsigned                modified:1;