Staging: iio: Fix type warnings

Signed-off-by: Alan Cox <alan@linux.intel.com>
Cc: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
Alan Cox 2009-08-19 16:59:31 +01:00 committed by Greg Kroah-Hartman
parent ff460c39ea
commit 3860dc82e6
2 changed files with 2 additions and 2 deletions

View File

@ -210,7 +210,7 @@ static struct attribute_group sca3000_ring_attr = {
.attrs = iio_ring_attributes,
};
static struct attribute_group *sca3000_ring_attr_groups[] = {
static const struct attribute_group *sca3000_ring_attr_groups[] = {
&sca3000_ring_attr,
NULL
};

View File

@ -392,7 +392,7 @@ static struct attribute_group iio_ring_attribute_group = {
.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,
NULL
};