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 <jg1.han@samsung.com> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
This commit is contained in:
parent
69f8cafd01
commit
a5fd844c83
|
@ -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 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" },
|
{ .compatible = "eeti,egalax_ts" },
|
||||||
{ /* sentinel */ }
|
{ /* sentinel */ }
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue