From: Alan Cox <alan@linux.intel.com>
To: linux-kernel@vger.kernel.org
Subject: [PATCH 1/2] iio: Fix type warnings
Date: Wed, 19 Aug 2009 17:20:13 +0100 [thread overview]
Message-ID: <20090819162011.8342.89107.stgit@localhost.localdomain> (raw)
Signed-off-by: Alan Cox <alan@linux.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
};
next reply other threads:[~2009-08-19 16:24 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-08-19 16:20 Alan Cox [this message]
2009-08-19 16:20 ` [PATCH 2/2] altpciechdma: 64bit type warning fix Alan Cox
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20090819162011.8342.89107.stgit@localhost.localdomain \
--to=alan@linux.intel.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox