Re: [U-Boot] U-Boot, dm, ubi: struct device is declared twice

2014-05-05 Thread Simon Glass
Hi Heiko, On 4 May 2014 23:55, Heiko Schocher wrote: > Hello Simon, > > Am 02.05.2014 16:29, schrieb Simon Glass: > >> Hi, >> >> On 2 May 2014 01:16, Heiko Schocher wrote: >>> >>> Hello Marek, >>> >>> Am 02.05.2014 08:06, schrieb Marek Vasut: >>> On Friday, May 02, 2014 at 07:19:01 AM, Heik

Re: [U-Boot] U-Boot, dm, ubi: struct device is declared twice

2014-05-04 Thread Heiko Schocher
Hello Simon, Am 02.05.2014 16:29, schrieb Simon Glass: Hi, On 2 May 2014 01:16, Heiko Schocher wrote: Hello Marek, Am 02.05.2014 08:06, schrieb Marek Vasut: On Friday, May 02, 2014 at 07:19:01 AM, Heiko Schocher wrote: Hello Simon, Marek, just updating to current mainline code and defin

Re: [U-Boot] U-Boot, dm, ubi: struct device is declared twice

2014-05-02 Thread Simon Glass
Hi, On 2 May 2014 01:16, Heiko Schocher wrote: > Hello Marek, > > Am 02.05.2014 08:06, schrieb Marek Vasut: > >> On Friday, May 02, 2014 at 07:19:01 AM, Heiko Schocher wrote: >>> >>> Hello Simon, Marek, >>> >>> just updating to current mainline code and defining >>> CONFIG_SYS_GENERIC_BOARD pops

Re: [U-Boot] U-Boot, dm, ubi: struct device is declared twice

2014-05-02 Thread Heiko Schocher
Hello Marek, Am 02.05.2014 08:06, schrieb Marek Vasut: On Friday, May 02, 2014 at 07:19:01 AM, Heiko Schocher wrote: Hello Simon, Marek, just updating to current mainline code and defining CONFIG_SYS_GENERIC_BOARD pops up the following error: CC common/board_r.o In file included from

Re: [U-Boot] U-Boot, dm, ubi: struct device is declared twice

2014-05-01 Thread Marek Vasut
On Friday, May 02, 2014 at 07:19:01 AM, Heiko Schocher wrote: > Hello Simon, Marek, > > just updating to current mainline code and defining > CONFIG_SYS_GENERIC_BOARD pops up the following error: > > CC common/board_r.o > In file included from include/linux/mtd/flashchip.h:21:0, >

Re: [U-Boot] U-Boot, dm, ubi: struct device is declared twice

2014-05-01 Thread Wolfgang Denk
Dear Heiko, In message <53632ac5.1030...@denx.de> you wrote: > > How to solve this double named struct? I do not want to change this > in Linux code as "struct device" is very much used, and this would > be a maintaining nightmare for future syncs with linux code. > > Should we rename the DM "st

[U-Boot] U-Boot, dm, ubi: struct device is declared twice

2014-05-01 Thread Heiko Schocher
Hello Simon, Marek, just updating to current mainline code and defining CONFIG_SYS_GENERIC_BOARD pops up the following error: CC common/board_r.o In file included from include/linux/mtd/flashchip.h:21:0, from include/linux/mtd/nand.h:31, from include/nand.