Re: [U-Boot] [PATCH v3 19/28] mtd: nand: add includes in NAND core to avoid warnings

2018-12-05 Thread Boris Brezillon
On Wed, 5 Dec 2018 00:57:05 +0100 Miquel Raynal wrote: > Because of the include's game, when some files are compiled for a SPI > NAND device, no warning appears. But when it is for a raw NAND device, > GCC complains. Fix these warning by including . > > Signed-off-by: Miquel Raynal

[U-Boot] [PATCH v3 19/28] mtd: nand: add includes in NAND core to avoid warnings

2018-12-04 Thread Miquel Raynal
Because of the include's game, when some files are compiled for a SPI NAND device, no warning appears. But when it is for a raw NAND device, GCC complains. Fix these warning by including . Signed-off-by: Miquel Raynal --- drivers/mtd/nand/bbt.c | 1 + drivers/mtd/nand/core.c | 1 + 2 files