projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a74cf0c
)
regulator: vexpress: Make of_device_id array const
author
Jingoo Han
<jg1.han@samsung.com>
Wed, 7 May 2014 08:09:12 +0000
(17:09 +0900)
committer
Mark Brown
<broonie@linaro.org>
Wed, 7 May 2014 19:56:25 +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>
Acked-by: Pawel Moll <pawel.moll@arm.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/regulator/vexpress.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/regulator/vexpress.c
b/drivers/regulator/vexpress.c
index f3ae28a7e66371143b6be01c9640712533faf541..147ecc7c11bf2db837c8f5069995815a7283f015 100644
(file)
--- 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", },
{ }
};