From: Jingoo Han Date: Wed, 7 May 2014 20:10:16 +0000 (-0700) Subject: Input: zforce - make of_device_id array const X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=f3f6319352f1c27dfecb47a95538ef209820c84f;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git Input: zforce - 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 Acked-by: Heiko Stuebner Signed-off-by: Dmitry Torokhov --- diff --git a/drivers/input/touchscreen/zforce_ts.c b/drivers/input/touchscreen/zforce_ts.c index 01d30cedde46..feea85b52fa8 100644 --- a/drivers/input/touchscreen/zforce_ts.c +++ b/drivers/input/touchscreen/zforce_ts.c @@ -880,7 +880,7 @@ static struct i2c_device_id zforce_idtable[] = { MODULE_DEVICE_TABLE(i2c, zforce_idtable); #ifdef CONFIG_OF -static struct of_device_id zforce_dt_idtable[] = { +static const struct of_device_id zforce_dt_idtable[] = { { .compatible = "neonode,zforce" }, {}, };