Skip to contentSkip to conversation

mtd: build error due to unknown field 'bbt_options' specified in initializer

linux-next Axel Lin 2 participants 2 messages Aug 8, 2011 – Aug 17, 2011 Memory technology devices (MTD)

lore
Share & tools
lore

Axel Lin

author
#0 lore raw

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.o
arch/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

#1 lore raw
Quoted 7 lines · Axel Lin

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.o
arch/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