Staging: iio: Fix type warnings
authorAlan Cox <alan@linux.intel.com>
Wed, 19 Aug 2009 15:59:31 +0000 (16:59 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 15 Sep 2009 19:02:26 +0000 (12:02 -0700)
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>
drivers/staging/iio/accel/sca3000_ring.c
drivers/staging/iio/ring_sw.c

index b01876d1dbc612bc5a89042ece1ad9c9b96d54ce..d5ea237793a6b88c917ba297a97a83b81ffec18a 100644 (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
 };
index c04ca4c13960ccb27078d6d29765a4691b4f482a..359ff9208f366d1f699c4a437db49afe653ce280 100644 (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
 };