tty/hvc_opal: constify of_device_id array
[firefly-linux-kernel-4.4.55.git] / drivers / tty / hvc / hvc_opal.c
index 071551bf3e9a559ae6ac1177f482ade55067eb42..543b234e70fc33bf728f6b30b66e0ef3048e4e1d 100644 (file)
@@ -41,7 +41,7 @@
 
 static const char hvc_opal_name[] = "hvc_opal";
 
-static struct of_device_id hvc_opal_match[] = {
+static const struct of_device_id hvc_opal_match[] = {
        { .name = "serial", .compatible = "ibm,opal-console-raw" },
        { .name = "serial", .compatible = "ibm,opal-console-hvsi" },
        { },