projects
/
GitHub
/
LineageOS
/
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:
bd6d35a
)
mfd: max77693: Make of_device_id array const
author
Krzysztof Kozlowski
<k.kozlowski@samsung.com>
Tue, 13 May 2014 10:58:52 +0000
(12:58 +0200)
committer
Lee Jones
<lee.jones@linaro.org>
Tue, 3 Jun 2014 07:11:32 +0000
(08:11 +0100)
Array of struct of_device_id may be be const as expected by
of_match_table field.
Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Reviewed-by: Chanwoo Choi <cw00.choi@samsung.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/max77693.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/mfd/max77693.c
b/drivers/mfd/max77693.c
index c5535f01846684e48120056d9a45483690911c21..7e05428c756d47c6936d5f39f7808a0394c95872 100644
(file)
--- a/
drivers/mfd/max77693.c
+++ b/
drivers/mfd/max77693.c
@@
-243,7
+243,7
@@
static const struct dev_pm_ops max77693_pm = {
};
#ifdef CONFIG_OF
-static struct of_device_id max77693_dt_match[] = {
+static
const
struct of_device_id max77693_dt_match[] = {
{ .compatible = "maxim,max77693" },
{},
};