net/fsl: constify of_device_id array
[firefly-linux-kernel-4.4.55.git] / drivers / net / ethernet / freescale / xgmac_mdio.c
index cd40b686e0a6b45eb0682495dada3b40e3e755d5..7b8fe866f60380f6ba23e31d915e472666e99be0 100644 (file)
@@ -307,7 +307,7 @@ static int xgmac_mdio_remove(struct platform_device *pdev)
        return 0;
 }
 
-static struct of_device_id xgmac_mdio_match[] = {
+static const struct of_device_id xgmac_mdio_match[] = {
        {
                .compatible = "fsl,fman-xmdio",
        },