Input: olpc_apsp - make of_device_id array const
authorJingoo Han <jg1.han@samsung.com>
Wed, 7 May 2014 20:03:20 +0000 (13:03 -0700)
committerDmitry 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

index 5d2fe7ece7ca0e88913569fa4c4d49bd5ffe60eb..d906f3ebc8c86cb3d6bf44866f1023deb1e28c42 100644 (file)
@@ -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", },
        {}
 };