diff options
author | Alan Cox <alan@linux.intel.com> | 2009-08-19 16:59:31 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-09-15 12:02:26 -0700 |
commit | 3860dc82e64f66b861159ae6ffd7f128ff7a5c19 (patch) | |
tree | ebc70a8ba210f6a80e21b439384a0fc59566e6a0 | |
parent | ff460c39ea80f4a66e47990d82211c14379d9e8a (diff) |
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>
-rw-r--r-- | drivers/staging/iio/accel/sca3000_ring.c | 2 | ||||
-rw-r--r-- | drivers/staging/iio/ring_sw.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/iio/accel/sca3000_ring.c b/drivers/staging/iio/accel/sca3000_ring.c index b01876d1dbc..d5ea237793a 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 c04ca4c1396..359ff9208f3 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 }; |