Commit 3860dc82 authored by Alan Cox's avatar Alan Cox Committed by Greg Kroah-Hartman

Staging: iio: Fix type warnings

Signed-off-by: default avatarAlan Cox <alan@linux.intel.com>
Cc: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent ff460c39
...@@ -210,7 +210,7 @@ static struct attribute_group sca3000_ring_attr = { ...@@ -210,7 +210,7 @@ static struct attribute_group sca3000_ring_attr = {
.attrs = iio_ring_attributes, .attrs = iio_ring_attributes,
}; };
static struct attribute_group *sca3000_ring_attr_groups[] = { static const struct attribute_group *sca3000_ring_attr_groups[] = {
&sca3000_ring_attr, &sca3000_ring_attr,
NULL NULL
}; };
......
...@@ -392,7 +392,7 @@ static struct attribute_group iio_ring_attribute_group = { ...@@ -392,7 +392,7 @@ static struct attribute_group iio_ring_attribute_group = {
.attrs = iio_ring_attributes, .attrs = iio_ring_attributes,
}; };
static struct attribute_group *iio_ring_attribute_groups[] = { static const struct attribute_group *iio_ring_attribute_groups[] = {
&iio_ring_attribute_group, &iio_ring_attribute_group,
NULL NULL
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment