aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/input/touchscreen/ar1021_i2c.c
diff options
context:
space:
mode:
authorFabian Frederick <fabf@skynet.be>2015-03-18 09:58:47 -0700
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2015-03-19 12:16:18 -0700
commit245165de9896cca918701b116d72d486a0398437 (patch)
treefecdd7a54c05adc7cc61901fd3b8cc9489c5c4f2 /drivers/input/touchscreen/ar1021_i2c.c
parentInput: pwm-beeper - remove useless call to pwm_config() (diff)
downloadlinux-dev-245165de9896cca918701b116d72d486a0398437.tar.xz
linux-dev-245165de9896cca918701b116d72d486a0398437.zip
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 '')
-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", },
{ }
};