mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
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 <[email protected]>
Signed-off-by: Boris Brezillon <[email protected]>
This commit is contained in:
parent
70106ddaf3
commit
038e8ad6eb
1 changed files with 1 additions and 0 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in a new issue