projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
153a4ff
)
mfd: tps6586x: Make of_device_id array const
author
Jingoo Han
<jg1.han@samsung.com>
Wed, 7 May 2014 08:23:15 +0000
(17:23 +0900)
committer
Lee Jones
<lee.jones@linaro.org>
Tue, 3 Jun 2014 07:11:28 +0000
(08:11 +0100)
Make of_device_id array const, because all OF functions
handle it as const.
Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/tps6586x.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/mfd/tps6586x.c
b/drivers/mfd/tps6586x.c
index 835e5549ecdd5796284f35c87ffef0b169b40e02..8e1dbc4695802a007edff2e2fe5a9d9851cbf6cd 100644
(file)
--- 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", },
{ },
};