Re: [U-Boot] [PATCH] Drivers: SPI: spi_slave struct has no member called bus nor cs.

2016-06-16 Thread Simon Glass
Hi Ahmen, On 11 June 2016 at 13:47, Ahmed Samir Khalil wrote: > In case of Driver Model, spi_slave structure (in spi.c) doesn't > have member called bus or cs. Compiler error will be reported > when using the new Driver Model while assigning bus & cs to > non-members. This

[U-Boot] [PATCH] Drivers: SPI: spi_slave struct has no member called bus nor cs.

2016-06-12 Thread Ahmed Samir Khalil
In case of Driver Model, spi_slave structure (in spi.c) doesn't have member called bus or cs. Compiler error will be reported when using the new Driver Model while assigning bus & cs to non-members. This compiler error becomes obvious while applying the step-by-step documented in spi-howto.txt