[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20090819162011.8342.89107.stgit@localhost.localdomain>
Date: Wed, 19 Aug 2009 17:20:13 +0100
From: Alan Cox <alan@...ux.intel.com>
To: linux-kernel@...r.kernel.org
Subject: [PATCH 1/2] iio: Fix type warnings
Signed-off-by: Alan Cox <alan@...ux.intel.com>
---
drivers/staging/iio/accel/sca3000_ring.c | 2 +-
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 b01876d..d5ea237 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 c04ca4c..359ff92 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
};
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists