summaryrefslogtreecommitdiff
path: root/drivers/mtd
diff options
context:
space:
mode:
authorHan Xu <b45815@freescale.com>2015-10-22 22:22:58 -0500
committerHan Xu <b45815@freescale.com>2015-10-22 22:24:07 -0500
commit2b1ce5ec442dde8801b6b2d059d22f5dce7c9c76 (patch)
tree55303d9f7df70a5ad81e9975f244228e95fb796e /drivers/mtd
parent4d8d6705a004d0162156a6179f66798c1bbba90f (diff)
MLK-11751: mtd: gpmi: add empty sentinel entry at the end of of_device_id table
add an empty sentinel entry to avoid the struct of_device_id is not terminated with a NULL entry issue. Signed-off-by: Han Xu <b45815@freescale.com>
Diffstat (limited to 'drivers/mtd')
-rw-r--r--drivers/mtd/nand/gpmi-nand/gpmi-nand.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/nand/gpmi-nand/gpmi-nand.c b/drivers/mtd/nand/gpmi-nand/gpmi-nand.c
index 7da004a438f8..9c0475f74108 100644
--- a/drivers/mtd/nand/gpmi-nand/gpmi-nand.c
+++ b/drivers/mtd/nand/gpmi-nand/gpmi-nand.c
@@ -2099,7 +2099,7 @@ static const struct of_device_id gpmi_nand_id_table[] = {
}, {
.compatible = "fsl,imx7d-gpmi-nand",
.data = (void *)&gpmi_devdata_imx7d,
- }
+ }, { /* sentinel */ }
};
MODULE_DEVICE_TABLE(of, gpmi_nand_id_table);