From: Jingoo Han Date: Wed, 7 May 2014 20:09:52 +0000 (-0700) Subject: Input: mms114 - make of_device_id array const X-Git-Tag: v4.6-rc1~9^2~621 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e3c3f4a9d15653c3d8afb957a6f470e8f3f893a1;p=platform%2Fkernel%2Flinux-exynos.git Input: mms114 - 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/mms114.c b/drivers/input/touchscreen/mms114.c index 8a598c0..9d83413 100644 --- a/drivers/input/touchscreen/mms114.c +++ b/drivers/input/touchscreen/mms114.c @@ -570,7 +570,7 @@ static const struct i2c_device_id mms114_id[] = { MODULE_DEVICE_TABLE(i2c, mms114_id); #ifdef CONFIG_OF -static struct of_device_id mms114_dt_match[] = { +static const struct of_device_id mms114_dt_match[] = { { .compatible = "melfas,mms114" }, { } };