From: Alan Cox Date: Wed, 19 Aug 2009 15:59:31 +0000 (+0100) Subject: Staging: iio: Fix type warnings X-Git-Tag: MMI-PSA29.97-13-9~26941^2~84 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=3860dc82e64f66b861159ae6ffd7f128ff7a5c19;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git Staging: iio: Fix type warnings Signed-off-by: Alan Cox Cc: Jonathan Cameron Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/iio/accel/sca3000_ring.c b/drivers/staging/iio/accel/sca3000_ring.c index b01876d1dbc6..d5ea237793a6 100644 --- a/drivers/staging/iio/accel/sca3000_ring.c +++ b/drivers/staging/iio/accel/sca3000_ring.c @@ -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 }; diff --git a/drivers/staging/iio/ring_sw.c b/drivers/staging/iio/ring_sw.c index c04ca4c13960..359ff9208f36 100644 --- a/drivers/staging/iio/ring_sw.c +++ b/drivers/staging/iio/ring_sw.c @@ -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 };