From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Tue, 15 Mar 2016 14:50:22 -0400 Subject: [U-Boot] [PATCH] spi: omap3: Fix multiple definition of 'priv' In-Reply-To: <1458066393-3606-1-git-send-email-jteki@openedev.com> References: <1458066393-3606-1-git-send-email-jteki@openedev.com> Message-ID: <20160315185022.GC23166@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 > Reported-by: Tom Rini > Signed-off-by: Jagan Teki 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: