From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mike Frysinger Date: Wed, 1 Aug 2012 12:32:00 -0400 Subject: [U-Boot] [PATCH 5/7 V3] SPI: Add SPI Driver for EXYNOS. In-Reply-To: <1343813612-1587-6-git-send-email-rajeshwari.s@samsung.com> References: <1343813612-1587-1-git-send-email-rajeshwari.s@samsung.com> <1343813612-1587-6-git-send-email-rajeshwari.s@samsung.com> Message-ID: <201208011232.01463.vapier@gentoo.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Wednesday 01 August 2012 05:33:30 Rajeshwari Shinde wrote: > --- /dev/null > +++ b/drivers/spi/exynos_spi.c > > +DECLARE_GLOBAL_DATA_PTR; i don't think you use this, so delete > +void spi_flush_fifo(struct spi_slave *slave) static > +void spi_init(void) > +{ > ... > + for (i = 0; i < EXYNOS5_SPI_NUM_CONTROLLERS; i++) { > ... > + bus_count++; why bother with a static bus_count ? just use the existing define. -mike -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: This is a digitally signed message part. URL: