Input: constify of_device_id arrays
[firefly-linux-kernel-4.4.55.git] / drivers / input / touchscreen / ar1021_i2c.c
index ba30578e296e4efa3032b307388975d7a6ec9172..f0b954d46a259726d94766e0191f4523351c748a 100644 (file)
@@ -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", },
        { }
 };