diff options
author | Jingoo Han <jg1.han@samsung.com> | 2014-05-07 16:03:20 -0400 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2014-05-14 19:39:57 -0400 |
commit | 597173a89a76ef1aafd02fc6cef7e0d3804b930b (patch) | |
tree | b24ada277ad1ffbd4066bc4e9001da9d614baa7f | |
parent | 5f155ee1c024bac5f6b8686dbfbea256a52785ce (diff) |
Input: olpc_apsp - make of_device_id array const
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>
-rw-r--r-- | drivers/input/serio/olpc_apsp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/serio/olpc_apsp.c b/drivers/input/serio/olpc_apsp.c index 5d2fe7ece7ca..d906f3ebc8c8 100644 --- 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) | |||
262 | return 0; | 262 | return 0; |
263 | } | 263 | } |
264 | 264 | ||
265 | static struct of_device_id olpc_apsp_dt_ids[] = { | 265 | static const struct of_device_id olpc_apsp_dt_ids[] = { |
266 | { .compatible = "olpc,ap-sp", }, | 266 | { .compatible = "olpc,ap-sp", }, |
267 | {} | 267 | {} |
268 | }; | 268 | }; |