All of lore.kernel.org
 help / color / mirror / Atom feed
From: Axel Lin <axel.lin@ingics.com>
To: Mark Brown <broonie@kernel.org>
Cc: alsa-devel@alsa-project.org, Liam Girdwood <lgirdwood@gmail.com>,
	anish kumar <yesanishhere@gmail.com>
Subject: [PATCH 3/3] ASoC: max9867: Constify max9867_reg and max9867_regmap
Date: Sat, 20 Feb 2016 10:54:11 +0800	[thread overview]
Message-ID: <1455936851.19371.2.camel@ingics.com> (raw)
In-Reply-To: <1455936752.19371.0.camel@ingics.com>

Signed-off-by: Axel Lin <axel.lin@ingics.com>
---
 sound/soc/codecs/max9867.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sound/soc/codecs/max9867.c b/sound/soc/codecs/max9867.c
index 70b5406..ab7a94d 100755
--- a/sound/soc/codecs/max9867.c
+++ b/sound/soc/codecs/max9867.c
@@ -436,7 +436,7 @@ static bool max9867_volatile_register(struct device *dev, unsigned int reg)
 	}
 }
 
-static struct reg_default max9867_reg[] = {
+static const struct reg_default max9867_reg[] = {
 	{ 0x04, 0x00 },
 	{ 0x05, 0x00 },
 	{ 0x06, 0x00 },
@@ -459,7 +459,7 @@ static struct reg_default max9867_reg[] = {
 	{ 0x17, 0x00 },
 };
 
-static struct regmap_config max9867_regmap = {
+static const struct regmap_config max9867_regmap = {
 	.reg_bits	= 8,
 	.val_bits	= 8,
 	.max_register	= MAX9867_REVISION,
-- 
2.1.4

  parent reply	other threads:[~2016-02-20  2:54 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-20  2:52 [PATCH 1/3] ASoC: max9867: Add CONFIG_SND_SOC_MAX9867 to build Axel Lin
2016-02-20  2:53 ` [PATCH 2/3] ASoC: max9867: Make max9867_i2c_id NULL terminated Axel Lin
2016-02-20 18:10   ` Applied "ASoC: max9867: Make max9867_i2c_id NULL terminated" to the asoc tree Mark Brown
2016-02-20  2:54 ` Axel Lin [this message]
2016-02-20 18:10   ` Applied "ASoC: max9867: Constify max9867_reg and max9867_regmap" " Mark Brown
2016-02-20  9:37 ` [PATCH 1/3] ASoC: max9867: Add CONFIG_SND_SOC_MAX9867 to build anish kumar
2016-02-20 18:10 ` Applied "ASoC: max9867: Add CONFIG_SND_SOC_MAX9867 to build" to the asoc tree 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=1455936851.19371.2.camel@ingics.com \
    --to=axel.lin@ingics.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=broonie@kernel.org \
    --cc=lgirdwood@gmail.com \
    --cc=yesanishhere@gmail.com \
    /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.