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:
5f155ee
)
Input: olpc_apsp - make of_device_id array const
author
Jingoo Han
<jg1.han@samsung.com>
Wed, 7 May 2014 20:03:20 +0000
(13:03 -0700)
committer
Dmitry Torokhov
<dmitry.torokhov@gmail.com>
Wed, 14 May 2014 23:39:57 +0000
(16:39 -0700)
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: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/serio/olpc_apsp.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/input/serio/olpc_apsp.c
b/drivers/input/serio/olpc_apsp.c
index 5d2fe7ece7ca0e88913569fa4c4d49bd5ffe60eb..d906f3ebc8c86cb3d6bf44866f1023deb1e28c42 100644
(file)
--- a/
drivers/input/serio/olpc_apsp.c
+++ b/
drivers/input/serio/olpc_apsp.c
@@
-262,7
+262,7
@@
static int olpc_apsp_remove(struct platform_device *pdev)
return 0;
}
-static struct of_device_id olpc_apsp_dt_ids[] = {
+static
const
struct of_device_id olpc_apsp_dt_ids[] = {
{ .compatible = "olpc,ap-sp", },
{}
};