diff options
author | Christophe Jaillet <christophe.jaillet@wanadoo.fr> | 2017-04-11 07:22:52 +0200 |
---|---|---|
committer | Boris Brezillon <boris.brezillon@free-electrons.com> | 2017-04-25 14:18:39 +0200 |
commit | 038e8ad6eb720d0b362183f1c30470c1e0797e39 (patch) | |
tree | c68942063a7b743ae92408f3051f74b7a5345f20 /drivers/mtd/nand | |
parent | 70106ddaf31150a57dc00b3d7d5167f693b521ef (diff) |
mtd: nand: NULL terminate a of_device_id table
of_device_id tables should be NULL terminated.
Fixes: 07b23e3db9ed ("mtd: nand: Cleanup/rework the atmel_nand driver")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Diffstat (limited to 'drivers/mtd/nand')
-rw-r--r-- | drivers/mtd/nand/atmel/nand-controller.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mtd/nand/atmel/nand-controller.c b/drivers/mtd/nand/atmel/nand-controller.c index c11f358c6df6..3b2446896147 100644 --- a/drivers/mtd/nand/atmel/nand-controller.c +++ b/drivers/mtd/nand/atmel/nand-controller.c @@ -1635,6 +1635,7 @@ static const struct of_device_id atmel_matrix_of_ids[] = { .compatible = "atmel,at91sam9x5-matrix", .data = (void *)AT91SAM9X5_MATRIX_EBICSA, }, + { /* sentinel */ }, }; static int atmel_nand_controller_init(struct atmel_nand_controller *nc, |