linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [linux-next] mtd: build error due to unknown field 'bbt_options' specified in initializer
@ 2011-08-08  7:04 Axel Lin
  2011-08-17  5:27 ` Artem Bityutskiy
  0 siblings, 1 reply; 2+ messages in thread
From: Axel Lin @ 2011-08-08  7:04 UTC (permalink / raw)
  To: linux-kernel
  Cc: Anton Vorontsov, David Woodhouse, Artem Bityutskiy, linux-mtd,
	Brian Norris

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



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [linux-next] mtd: build error due to unknown field 'bbt_options' specified in initializer
  2011-08-08  7:04 [linux-next] mtd: build error due to unknown field 'bbt_options' specified in initializer Axel Lin
@ 2011-08-17  5:27 ` Artem Bityutskiy
  0 siblings, 0 replies; 2+ messages in thread
From: Artem Bityutskiy @ 2011-08-17  5:27 UTC (permalink / raw)
  To: Axel Lin
  Cc: linux-kernel, Anton Vorontsov, David Woodhouse, linux-mtd, Brian Norris

On Mon, 2011-08-08 at 15:04 +0800, Axel Lin wrote:
> 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.

-- 
Best Regards,
Artem Bityutskiy


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-08-17  5:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-08-08  7:04 [linux-next] mtd: build error due to unknown field 'bbt_options' specified in initializer Axel Lin
2011-08-17  5:27 ` Artem Bityutskiy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).