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:
d1fb70e
)
mfd: sec-core: Make of_device_id array const
author
Krzysztof Kozlowski
<k.kozlowski@samsung.com>
Tue, 13 May 2014 10:58:46 +0000
(12:58 +0200)
committer
Lee Jones
<lee.jones@linaro.org>
Tue, 3 Jun 2014 07:11:35 +0000
(08:11 +0100)
Array of struct of_device_id may be be const as expected by both
of_match_table field and of_match_node() call.
Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/sec-core.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/mfd/sec-core.c
b/drivers/mfd/sec-core.c
index 01beae8af255a54400c26bc45f0ebcd7e5a0513f..be06d0abbf19f8b171c7554a5474afa861fb889e 100644
(file)
--- a/
drivers/mfd/sec-core.c
+++ b/
drivers/mfd/sec-core.c
@@
-90,7
+90,7
@@
static const struct mfd_cell s2mpa01_devs[] = {
};
#ifdef CONFIG_OF
-static struct of_device_id sec_dt_match[] = {
+static
const
struct of_device_id sec_dt_match[] = {
{ .compatible = "samsung,s5m8767-pmic",
.data = (void *)S5M8767X,
}, {