[media] constify of_device_id array
[deliverable/linux.git] / drivers / media / platform / soc_camera / rcar_vin.c
index 4c30d0dbdb301e2929352a0a78364b78f221a02d..4dc3288ddd06cc6f4977d2ae2e24762c9020385e 100644 (file)
@@ -1821,7 +1821,7 @@ static struct soc_camera_host_ops rcar_vin_host_ops = {
 };
 
 #ifdef CONFIG_OF
-static struct of_device_id rcar_vin_of_table[] = {
+static const struct of_device_id rcar_vin_of_table[] = {
        { .compatible = "renesas,vin-r8a7794", .data = (void *)RCAR_GEN2 },
        { .compatible = "renesas,vin-r8a7793", .data = (void *)RCAR_GEN2 },
        { .compatible = "renesas,vin-r8a7791", .data = (void *)RCAR_GEN2 },
This page took 0.02801 seconds and 5 git commands to generate.