From: Jingoo Han <jg1.han@samsung.com>
To: "'Lee Jones'" <lee.jones@linaro.org>
Cc: linux-kernel@vger.kernel.org,
"'Samuel Ortiz'" <sameo@linux.intel.com>,
"'Jingoo Han'" <jg1.han@samsung.com>,
"'Mike Rapoport'" <mike.rapoport@ravellosystems.com>
Subject: [PATCH 3/4] mfd: tps6586x: Make of_device_id array const
Date: Wed, 07 May 2014 17:23:15 +0900 [thread overview]
Message-ID: <01f601cf69cd$981f3d30$c85db790$%han@samsung.com> (raw)
In-Reply-To: <01f001cf69cc$8dd3b320$a97b1960$%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/mfd/tps6586x.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/mfd/tps6586x.c b/drivers/mfd/tps6586x.c
index bbd5441..ccd7082 100644
--- a/drivers/mfd/tps6586x.c
+++ b/drivers/mfd/tps6586x.c
@@ -444,7 +444,7 @@ static struct tps6586x_platform_data *tps6586x_parse_dt(struct i2c_client *clien
return pdata;
}
-static struct of_device_id tps6586x_of_match[] = {
+static const struct of_device_id tps6586x_of_match[] = {
{ .compatible = "ti,tps6586x", },
{ },
};
--
1.7.10.4
next prev parent reply other threads:[~2014-05-07 8:23 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-05-07 8:15 [PATCH 1/4] mfd: tps65910: Make of_device_id array const Jingoo Han
2014-05-07 8:22 ` [PATCH 2/4] mfd: tps6507x: " Jingoo Han
2014-05-07 12:46 ` Lee Jones
2014-05-07 8:23 ` Jingoo Han [this message]
2014-05-07 12:46 ` [PATCH 3/4] mfd: tps6586x: " Lee Jones
2014-05-07 8:24 ` [PATCH 4/4] mfd: sm501: " Jingoo Han
2014-05-07 12:47 ` Lee Jones
2014-05-07 12:45 ` [PATCH 1/4] mfd: tps65910: " Lee Jones
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='01f601cf69cd$981f3d30$c85db790$%han@samsung.com' \
--to=jg1.han@samsung.com \
--cc=lee.jones@linaro.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mike.rapoport@ravellosystems.com \
--cc=sameo@linux.intel.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