From: Fabian Frederick <fabf@skynet.be>
To: linux-kernel@vger.kernel.org
Cc: Fabian Frederick <fabf@skynet.be>,
Liam Girdwood <lgirdwood@gmail.com>,
Mark Brown <broonie@kernel.org>, Jaroslav Kysela <perex@perex.cz>,
Takashi Iwai <tiwai@suse.de>,
alsa-devel@alsa-project.org
Subject: [PATCH 6/7 linux-next] ASoC: fsi: constify of_device_id array
Date: Wed, 18 Mar 2015 17:49:01 +0100 [thread overview]
Message-ID: <1426697344-4884-7-git-send-email-fabf@skynet.be> (raw)
In-Reply-To: <1426697344-4884-1-git-send-email-fabf@skynet.be>
of_device_id is always used as const.
(See driver.of_match_table and open firmware functions)
Signed-off-by: Fabian Frederick <fabf@skynet.be>
---
sound/soc/sh/fsi.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/sound/soc/sh/fsi.c b/sound/soc/sh/fsi.c
index bb20550..b593e28 100644
--- a/sound/soc/sh/fsi.c
+++ b/sound/soc/sh/fsi.c
@@ -1882,7 +1882,7 @@ static void fsi_handler_init(struct fsi_priv *fsi,
}
}
-static struct of_device_id fsi_of_match[];
+static const struct of_device_id fsi_of_match[];
static int fsi_probe(struct platform_device *pdev)
{
struct fsi_master *master;
@@ -2100,7 +2100,7 @@ static struct fsi_core fsi2_core = {
.b_mclk = B_MST_CTLR,
};
-static struct of_device_id fsi_of_match[] = {
+static const struct of_device_id fsi_of_match[] = {
{ .compatible = "renesas,sh_fsi", .data = &fsi1_core},
{ .compatible = "renesas,sh_fsi2", .data = &fsi2_core},
{},
--
1.9.1
next prev parent reply other threads:[~2015-03-18 16:50 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-18 16:48 [PATCH 0/7 linux-next] sound: " Fabian Frederick
2015-03-18 16:48 ` [PATCH 1/7 linux-next] ALSA: aoa: " Fabian Frederick
2015-03-19 11:12 ` [alsa-devel] " Takashi Iwai
2015-03-18 16:48 ` [PATCH 2/7 linux-next] ASoC: fsl: " Fabian Frederick
2015-03-22 18:03 ` Mark Brown
2015-03-18 16:48 ` [PATCH 3/7 linux-next] ASoC: kirkwood: " Fabian Frederick
2015-03-22 18:03 ` Mark Brown
2015-03-18 16:48 ` [PATCH 4/7 linux-next] ASoC: rt5631: " Fabian Frederick
2015-03-22 18:04 ` Mark Brown
2015-03-18 16:49 ` [PATCH 5/7 linux-next] ASoC: ak4554: " Fabian Frederick
2015-03-22 18:05 ` Mark Brown
2015-03-18 16:49 ` Fabian Frederick [this message]
2015-03-22 18:05 ` [PATCH 6/7 linux-next] ASoC: fsi: " Mark Brown
2015-03-18 16:49 ` [PATCH 7/7 linux-next] ASoC: rsnd: " Fabian Frederick
2015-03-22 18:06 ` Mark Brown
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=1426697344-4884-7-git-send-email-fabf@skynet.be \
--to=fabf@skynet.be \
--cc=alsa-devel@alsa-project.org \
--cc=broonie@kernel.org \
--cc=lgirdwood@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=perex@perex.cz \
--cc=tiwai@suse.de \
/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
all inboxes | Powered by JetHome®