net/fsl: constify of_device_id array
[firefly-linux-kernel-4.4.55.git] / drivers / net / ethernet / freescale / fec_mpc52xx_phy.c
index e0528900db023cada5870329317996511e407e73..1e647beaf9894b5e498dde448f400f5901e8034f 100644 (file)
@@ -134,7 +134,7 @@ static int mpc52xx_fec_mdio_remove(struct platform_device *of)
        return 0;
 }
 
-static struct of_device_id mpc52xx_fec_mdio_match[] = {
+static const struct of_device_id mpc52xx_fec_mdio_match[] = {
        { .compatible = "fsl,mpc5200b-mdio", },
        { .compatible = "fsl,mpc5200-mdio", },
        { .compatible = "mpc5200b-fec-phy", },