[PATCH] [v2] ARM: omap1: add nand_chip declaration

Tony Lindgren tony at atomide.com
Wed Sep 26 07:59:32 PDT 2018

* Arnd Bergmann <arnd at arndb.de> [180926 14:26]:
> Recent MTD changes caused a minor build regression on OMAP1:
> In file included from arch/arm/mach-omap1/devices.c:31:
> arch/arm/mach-omap1/common.h:85:39: error: 'struct nand_chip' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
> Fixes: 1002aed789bc ("mtd: rawnand: plat_nand: Pass a nand_chip object to all platform_nand_ctrl hooks")
> Signed-off-by: Arnd Bergmann <arnd at arndb.de>
> ----
> v2: remove unused linux/mtd/mtd.h inclusion

Acked-by: Tony Lindgren <tony at atomide.com>

More information about the linux-arm-kernel mailing list