From: Jingoo Han Date: Wed, 7 May 2014 20:09:52 +0000 (-0700) Subject: Input: mms114 - make of_device_id array const X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=e3c3f4a9d15653c3d8afb957a6f470e8f3f893a1;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.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 8a598c065391..9d83413bbba7 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" }, { } };