diff options
author | Fabian Frederick <fabf@skynet.be> | 2015-03-18 09:58:47 -0700 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2015-03-19 12:16:18 -0700 |
commit | 245165de9896cca918701b116d72d486a0398437 (patch) | |
tree | fecdd7a54c05adc7cc61901fd3b8cc9489c5c4f2 /drivers/input/touchscreen/ar1021_i2c.c | |
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/ar1021_i2c.c')
-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[] = { }; 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", }, { } }; |