mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Jingoo Han <jg1.han@samsung.com>
To: "'Mark Brown'" <broonie@kernel.org>
Cc: "'Liam Girdwood'" <lgirdwood@gmail.com>,
	linux-kernel@vger.kernel.org,
	"'Jingoo Han'" <jg1.han@samsung.com>,
	"'Pawel Moll'" <pawel.moll@arm.com>
Subject: [PATCH 5/5] regulator: vexpress: Make of_device_id array const
Date: Wed, 07 May 2014 17:09:12 +0900	[thread overview]
Message-ID: <01ef01cf69cb$a1a66d30$e4f34790$%han@samsung.com> (raw)
In-Reply-To: <01e101cf69c9$abd91f70$038b5e50$%han@samsung.com>

Make of_device_id array const, because all OF functions
handle it as const.

Signed-off-by: Jingoo Han <jg1.han@samsung.com>
---
 drivers/regulator/vexpress.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/regulator/vexpress.c b/drivers/regulator/vexpress.c
index f3ae28a..147ecc7 100644
--- a/drivers/regulator/vexpress.c
+++ b/drivers/regulator/vexpress.c
@@ -123,7 +123,7 @@ static int vexpress_regulator_remove(struct platform_device *pdev)
 	return 0;
 }
 
-static struct of_device_id vexpress_regulator_of_match[] = {
+static const struct of_device_id vexpress_regulator_of_match[] = {
 	{ .compatible = "arm,vexpress-volt", },
 	{ }
 };
-- 
1.7.10.4



  parent reply	other threads:[~2014-05-07  8:09 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-07  7:55 [PATCH 1/5] regulator: anatop: " Jingoo Han
2014-05-07  8:06 ` [PATCH 2/5] regulator: max8952: " Jingoo Han
2014-05-07  8:42   ` Krzysztof Kozlowski
2014-05-07  8:07 ` [PATCH 3/5] regulator: palmas: " Jingoo Han
2014-05-07  8:08 ` [PATCH 4/5] regulator: st-pwm: " Jingoo Han
2014-05-07  8:09 ` Jingoo Han [this message]
2014-05-07  8:12   ` [PATCH 5/5] regulator: vexpress: " Pawel Moll
2014-05-07 19:55 ` [PATCH 1/5] regulator: anatop: " 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='01ef01cf69cb$a1a66d30$e4f34790$%han@samsung.com' \
    --to=jg1.han@samsung.com \
    --cc=broonie@kernel.org \
    --cc=lgirdwood@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=pawel.moll@arm.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome