sparc: Annotate of_device_id arrays with const or __initdata.
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / drivers / char / hw_random / n2-drv.c
index 5220f541df25e8be038a4a598d6cb82610351a7f..8859aeac2d2510ef6a2a79ea13e364e47f301461 100644 (file)
@@ -736,7 +736,7 @@ static int __devexit n2rng_remove(struct of_device *op)
        return 0;
 }
 
-static struct of_device_id n2rng_match[] = {
+static const struct of_device_id n2rng_match[] = {
        {
                .name           = "random-number-generator",
                .compatible     = "SUNW,n2-rng",