From: Jingoo Han Date: Wed, 7 May 2014 20:08:53 +0000 (-0700) Subject: Input: egalax_ts - make of_device_id array const X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=a5fd844c83b8597e4d5ab5f4dcc961df3d9a7486;p=sagit-ice-cold%2Fkernel_xiaomi_msm8998.git Input: egalax_ts - 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 Signed-off-by: Dmitry Torokhov --- diff --git a/drivers/input/touchscreen/egalax_ts.c b/drivers/input/touchscreen/egalax_ts.c index e6bcb13680b2..c8057847d71d 100644 --- a/drivers/input/touchscreen/egalax_ts.c +++ b/drivers/input/touchscreen/egalax_ts.c @@ -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 */ } };