Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 038e8ad6 authored by Christophe Jaillet's avatar Christophe Jaillet Committed by Boris Brezillon
Browse files

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: default avatarChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: default avatarBoris Brezillon <boris.brezillon@free-electrons.com>
parent 70106dda
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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,