mtd: constify of_device_id array
[firefly-linux-kernel-4.4.55.git] / drivers / mtd / nand / mpc5121_nfc.c
index 1f12e5bfbceda428ecb7650cc6bc0db1355d5124..2a49b53c8db96b03a3b56a7cd039502ebfee0c9d 100644 (file)
@@ -837,7 +837,7 @@ static int mpc5121_nfc_remove(struct platform_device *op)
        return 0;
 }
 
-static struct of_device_id mpc5121_nfc_match[] = {
+static const struct of_device_id mpc5121_nfc_match[] = {
        { .compatible = "fsl,mpc5121-nfc", },
        {},
 };