mtd: mxc-nand: Constify platform_device_id
[firefly-linux-kernel-4.4.55.git] / drivers / mtd / nand / mxc_nand.c
index 372e0e38f59b323f4388c6d96416ea5ea35f3c69..2c46489eeee0b0d264970f11a0c1e59a8e8cfbd6 100644 (file)
@@ -1350,7 +1350,7 @@ static inline int is_imx53_nfc(struct mxc_nand_host *host)
        return host->devtype_data == &imx53_nand_devtype_data;
 }
 
-static struct platform_device_id mxcnd_devtype[] = {
+static const struct platform_device_id mxcnd_devtype[] = {
        {
                .name = "imx21-nand",
                .driver_data = (kernel_ulong_t) &imx21_nand_devtype_data,