All of lore.kernel.org
 help / color / mirror / Atom feed
From: Fabian Frederick <fabf@skynet.be>
To: linux-kernel@vger.kernel.org
Cc: Fabian Frederick <fabf@skynet.be>,
	Bard Liao <bardliao@realtek.com>,
	Oder Chiou <oder_chiou@realtek.com>,
	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 4/7 linux-next] ASoC: rt5631: constify of_device_id array
Date: Wed, 18 Mar 2015 17:48:59 +0100	[thread overview]
Message-ID: <1426697344-4884-5-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/codecs/rt5631.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sound/soc/codecs/rt5631.c b/sound/soc/codecs/rt5631.c
index c618527..2c10d77 100644
--- a/sound/soc/codecs/rt5631.c
+++ b/sound/soc/codecs/rt5631.c
@@ -1675,7 +1675,7 @@ static const struct i2c_device_id rt5631_i2c_id[] = {
 MODULE_DEVICE_TABLE(i2c, rt5631_i2c_id);
 
 #ifdef CONFIG_OF
-static struct of_device_id rt5631_i2c_dt_ids[] = {
+static const struct of_device_id rt5631_i2c_dt_ids[] = {
 	{ .compatible = "realtek,rt5631"},
 	{ .compatible = "realtek,alc5631"},
 	{ }
-- 
1.9.1


  parent reply	other threads:[~2015-03-18 16:49 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-18 16:48 [PATCH 0/7 linux-next] sound: constify of_device_id array Fabian Frederick
2015-03-18 16:48 ` Fabian Frederick
2015-03-18 16:48 ` [PATCH 1/7 linux-next] ALSA: aoa: " Fabian Frederick
2015-03-18 16:48   ` Fabian Frederick
2015-03-18 16:48   ` Fabian Frederick
2015-03-19 11:12   ` [alsa-devel] " Takashi Iwai
2015-03-19 11:12     ` 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 ` Fabian Frederick [this message]
2015-03-22 18:04   ` [PATCH 4/7 linux-next] ASoC: rt5631: " 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 ` [PATCH 6/7 linux-next] ASoC: fsi: " Fabian Frederick
2015-03-22 18:05   ` 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-5-git-send-email-fabf@skynet.be \
    --to=fabf@skynet.be \
    --cc=alsa-devel@alsa-project.org \
    --cc=bardliao@realtek.com \
    --cc=broonie@kernel.org \
    --cc=lgirdwood@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=oder_chiou@realtek.com \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.