net/fsl: constify of_device_id array
[firefly-linux-kernel-4.4.55.git] / drivers / net / ethernet / freescale / fec_mpc52xx.c
index f495796248db97f3bf3e94900d00cacd2d520624..afe7f39cdd7cc2f5c7a7e1833090810b2400f2ba 100644 (file)
@@ -1057,7 +1057,7 @@ static int mpc52xx_fec_of_resume(struct platform_device *op)
 }
 #endif
 
-static struct of_device_id mpc52xx_fec_match[] = {
+static const struct of_device_id mpc52xx_fec_match[] = {
        { .compatible = "fsl,mpc5200b-fec", },
        { .compatible = "fsl,mpc5200-fec", },
        { .compatible = "mpc5200-fec", },