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:
parent
ff460c39ea
commit
3860dc82e6
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
};
|
||||
|
|
|
@ -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
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue