diff options
author | Fabian Frederick <fabf@skynet.be> | 2015-03-18 12:58:47 -0400 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2015-03-19 15:16:18 -0400 |
commit | 245165de9896cca918701b116d72d486a0398437 (patch) | |
tree | fecdd7a54c05adc7cc61901fd3b8cc9489c5c4f2 /drivers/input/touchscreen | |
parent | d1b12075ffa808dce33dd46b7ad035bebf8da215 (diff) |
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')
-rw-r--r-- | drivers/input/touchscreen/ar1021_i2c.c | 2 |
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[] = { | |||
157 | }; | 157 | }; |
158 | MODULE_DEVICE_TABLE(i2c, ar1021_i2c_id); | 158 | MODULE_DEVICE_TABLE(i2c, ar1021_i2c_id); |
159 | 159 | ||
160 | static struct of_device_id ar1021_i2c_of_match[] = { | 160 | static const struct of_device_id ar1021_i2c_of_match[] = { |
161 | { .compatible = "microchip,ar1021-i2c", }, | 161 | { .compatible = "microchip,ar1021-i2c", }, |
162 | { } | 162 | { } |
163 | }; | 163 | }; |