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

Tom Rini trini at konsulko.com
Tue Mar 15 19:50:22 CET 2016


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_priv for both dm and non-dm.
> 
> Cc: Christophe Ricard <christophe-h.ricard at st.com>
> Reported-by: Tom Rini <trini at konsulko.com>
> Signed-off-by: Jagan Teki <jteki at openedev.com>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160315/b536c7af/attachment.sig>


More information about the U-Boot mailing list