projects
/
deliverable
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1439afd
)
regulator: max8952: Make of_device_id array const
author
Jingoo Han
<jg1.han@samsung.com>
Wed, 7 May 2014 08:06:34 +0000
(17:06 +0900)
committer
Mark Brown
<broonie@linaro.org>
Wed, 7 May 2014 19:56:47 +0000
(20:56 +0100)
Make of_device_id array const, because all OF functions
handle it as const.
Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Reviewed-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/regulator/max8952.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/regulator/max8952.c
b/drivers/regulator/max8952.c
index d920f5a32ec8e935bd5288b571dd9adb3076c319..c2792f0271ab053a0195dcbeae94d91c5e04499e 100644
(file)
--- a/
drivers/regulator/max8952.c
+++ b/
drivers/regulator/max8952.c
@@
-129,7
+129,7
@@
static const struct regulator_desc regulator = {
};
#ifdef CONFIG_OF
-static struct of_device_id max8952_dt_match[] = {
+static
const
struct of_device_id max8952_dt_match[] = {
{ .compatible = "maxim,max8952" },
{},
};
This page took
0.024913 seconds
and
5
git commands to generate.