Input: egalax_ts - make of_device_id array const
authorJingoo Han <jg1.han@samsung.com>
Wed, 7 May 2014 20:08:53 +0000 (13:08 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 14 May 2014 23:39:59 +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/touchscreen/egalax_ts.c

index e6bcb13680b2d03498bfa93d982bc01bcbad4181..c8057847d71d475a02450cb294d08b9cc17419bc 100644 (file)
@@ -262,7 +262,7 @@ static int egalax_ts_resume(struct device *dev)
 
 static SIMPLE_DEV_PM_OPS(egalax_ts_pm_ops, egalax_ts_suspend, egalax_ts_resume);
 
-static struct of_device_id egalax_ts_dt_ids[] = {
+static const struct of_device_id egalax_ts_dt_ids[] = {
        { .compatible = "eeti,egalax_ts" },
        { /* sentinel */ }
 };