summaryrefslogtreecommitdiff
path: root/drivers/input/touchscreen/ar1021_i2c.c
diff options
context:
space:
mode:
authorFabian Frederick <fabf@skynet.be>2015-03-18 19:58:47 +0300
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2015-03-19 22:16:18 +0300
commit245165de9896cca918701b116d72d486a0398437 (patch)
treefecdd7a54c05adc7cc61901fd3b8cc9489c5c4f2 /drivers/input/touchscreen/ar1021_i2c.c
parentd1b12075ffa808dce33dd46b7ad035bebf8da215 (diff)
downloadlinux-245165de9896cca918701b116d72d486a0398437.tar.xz
Input: constify of_device_id arrays
of_device_id is always used as const argument (See driver.of_match_table and open firmware functions). Signed-off-by: Fabian Frederick <fabf@skynet.be> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input/touchscreen/ar1021_i2c.c')
-rw-r--r--drivers/input/touchscreen/ar1021_i2c.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/touchscreen/ar1021_i2c.c b/drivers/input/touchscreen/ar1021_i2c.c
index ba30578e296e..f0b954d46a25 100644
--- a/drivers/input/touchscreen/ar1021_i2c.c
+++ b/drivers/input/touchscreen/ar1021_i2c.c
@@ -157,7 +157,7 @@ static const struct i2c_device_id ar1021_i2c_id[] = {
};
MODULE_DEVICE_TABLE(i2c, ar1021_i2c_id);
-static struct of_device_id ar1021_i2c_of_match[] = {
+static const struct of_device_id ar1021_i2c_of_match[] = {
{ .compatible = "microchip,ar1021-i2c", },
{ }
};