From: Jingoo Han Date: Wed, 7 May 2014 20:05:15 +0000 (-0700) Subject: Input: auo-pixcir-ts - make of_device_id array const X-Git-Tag: v4.14-rc1~4^2~750 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=69f8cafd017b0c15a2586750368ef52a6c66f899;p=platform%2Fkernel%2Flinux-rpi.git Input: auo-pixcir-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 Acked-by: Heiko Stuebner Signed-off-by: Dmitry Torokhov --- diff --git a/drivers/input/touchscreen/auo-pixcir-ts.c b/drivers/input/touchscreen/auo-pixcir-ts.c index d3f9f6b..7f3c947 100644 --- a/drivers/input/touchscreen/auo-pixcir-ts.c +++ b/drivers/input/touchscreen/auo-pixcir-ts.c @@ -679,7 +679,7 @@ static const struct i2c_device_id auo_pixcir_idtable[] = { MODULE_DEVICE_TABLE(i2c, auo_pixcir_idtable); #ifdef CONFIG_OF -static struct of_device_id auo_pixcir_ts_dt_idtable[] = { +static const struct of_device_id auo_pixcir_ts_dt_idtable[] = { { .compatible = "auo,auo_pixcir_ts" }, {}, };