net/fsl: constify of_device_id array
[firefly-linux-kernel-4.4.55.git] / drivers / net / ethernet / freescale / fsl_pq_mdio.c
index d1a91e344e6b8e5e4ba344a0ad95674d5b2f48f5..3c40f6b9922436a32d255aa627e9d94db45f8477 100644 (file)
@@ -294,7 +294,7 @@ static void ucc_configure(phys_addr_t start, phys_addr_t end)
 
 #endif
 
-static struct of_device_id fsl_pq_mdio_match[] = {
+static const struct of_device_id fsl_pq_mdio_match[] = {
 #if defined(CONFIG_GIANFAR) || defined(CONFIG_GIANFAR_MODULE)
        {
                .compatible = "fsl,gianfar-tbi",