Re: [U-Boot] [PATCH] spi: omap3: Fix multiple definition of 'priv'

2016-03-15 Thread Tom Rini
On Tue, Mar 15, 2016 at 11:56:33PM +0530, Jagan Teki wrote: > Global definition of priv seems no-sense to use it > for non-dm case and pass the pointer to functions > which are common to both dm and non-dm. > > So, fix this by removing omap3_spi_slave from non-dm > and make visible to omap3_spi_p

Re: [U-Boot] [PATCH] spi: omap3: Fix multiple definition of 'priv'

2016-03-15 Thread Jagan Teki
On 15 March 2016 at 23:56, Jagan Teki wrote: > Global definition of priv seems no-sense to use it > for non-dm case and pass the pointer to functions > which are common to both dm and non-dm. > > So, fix this by removing omap3_spi_slave from non-dm > and make visible to omap3_spi_priv for both dm

[U-Boot] [PATCH] spi: omap3: Fix multiple definition of 'priv'

2016-03-15 Thread Jagan Teki
Global definition of priv seems no-sense to use it for non-dm case and pass the pointer to functions which are common to both dm and non-dm. So, fix this by removing omap3_spi_slave from non-dm and make visible to omap3_spi_priv for both dm and non-dm. Cc: Christophe Ricard Reported-by: Tom Rini