projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Input: constify of_device_id arrays
[firefly-linux-kernel-4.4.55.git]
/
drivers
/
input
/
touchscreen
/
ar1021_i2c.c
diff --git
a/drivers/input/touchscreen/ar1021_i2c.c
b/drivers/input/touchscreen/ar1021_i2c.c
index ba30578e296e4efa3032b307388975d7a6ec9172..f0b954d46a259726d94766e0191f4523351c748a 100644
(file)
--- 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", },
{ }
};