Re: [PATCH 2/2] ARM: ixp4xx: include linux/mtd/platnand.h

From: Miquel Raynal
Date: Fri Oct 05 2018 - 10:37:19 EST


Hi Arnd,

Arnd Bergmann <arnd@xxxxxxxx> wrote on Wed, 26 Sep 2018 15:04:39 +0200:

> The platform_nand_data structure definition is required for ixdp425
> but has now moved to a new header file:
>
> arch/arm/mach-ixp4xx/ixdp425-setup.c:98:15: error: variable 'ixdp425_flash_nand_data' has initializer but incomplete type
> static struct platform_nand_data ixdp425_flash_nand_data = {
> ^~~~~~~~~~~~~~~~~~
> arch/arm/mach-ixp4xx/ixdp425-setup.c:99:3: error: 'struct platform_nand_data' has no member named 'chip'
>
> Fixes: 19cf5dfa3a31 ("mtd: rawnand: Move platform_nand_xxx definitions out of rawnand.h")
> Signed-off-by: Arnd Bergmann <arnd@xxxxxxxx>
> ---

Sorry for the delay, squashed in nand/next with the commit introducing
the regression.

Thanks,
MiquÃl