mtd: build error due to unknown field 'bbt_options' specified in initializer
struct platform_nand_data doest not have bbt_options field. Thus "make orion5x_defconfig;make" has below build error:
CC arch/arm/mach-orion5x/ts78xx-setup.oarch/arm/mach-orion5x/ts78xx-setup.c:278: error: unknown field 'bbt_options' specified in initializer make[1]: *** [arch/arm/mach-orion5x/ts78xx-setup.o] Error 1
make: *** [arch/arm/mach-orion5x] Error 2
Regards,
Axel
Quoted 7 lines · Axel Lin
struct
platform_nand_datadoest not havebbt_optionsfield. Thus "make orion5x_defconfig;make" has below build error:CC
arch/arm/mach-orion5x/ts78xx-setup.oarch/arm/mach-orion5x/ts78xx-setup.c:278: error: unknown field 'bbt_options' specified in initializer make[1]: *** [arch/arm/mach-orion5x/ts78xx-setup.o] Error 1
make: *** [arch/arm/mach-orion5x] Error 2
The fix is added to l2-mtd-2.6.git, thanks for reporting.
Signature · 2 lines
Best Regards, Artem Bityutskiy