w1: constify of_device_id array
[firefly-linux-kernel-4.4.55.git] / drivers / w1 / masters / mxc_w1.c
index 53bf2c860ad3503a497b0f656ff5306a21ceb5ff..a4621757a47f5184d96b99fda56c20f11562425d 100644 (file)
@@ -166,7 +166,7 @@ static int mxc_w1_remove(struct platform_device *pdev)
        return 0;
 }
 
-static struct of_device_id mxc_w1_dt_ids[] = {
+static const struct of_device_id mxc_w1_dt_ids[] = {
        { .compatible = "fsl,imx21-owire" },
        { /* sentinel */ }
 };