From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek Vasut Date: Mon, 3 Oct 2011 12:45:41 +0200 Subject: [U-Boot] [PATCH 2/4] mmc: sdhci: fix build warning In-Reply-To: <1317632501-12336-3-git-send-email-leiwen@marvell.com> References: <1317632501-12336-1-git-send-email-leiwen@marvell.com> <1317632501-12336-3-git-send-email-leiwen@marvell.com> Message-ID: <201110031245.41424.marek.vasut@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Monday, October 03, 2011 11:01:39 AM Lei Wen wrote: > If CONFIG_MMC_SDHCI_IO_ACCESSORS is defined, the following warning would > shows up: [...] > > diff --git a/include/sdhci.h b/include/sdhci.h > index 6d52ce9..6c6a8ea 100644 > --- a/include/sdhci.h > +++ b/include/sdhci.h > @@ -219,6 +219,7 @@ > */ > #define SDHCI_DEFAULT_BOUNDARY_SIZE (512 * 1024) > #define SDHCI_DEFAULT_BOUNDARY_ARG (7) > +struct sdhci_host; > struct sdhci_ops { > #ifdef CONFIG_MMC_SDHCI_IO_ACCESSORS > u32 (*read_l)(struct sdhci_host *host, int reg); Dear Lei Wen, Please keep the newlines so it's not such an uniform blob of code. Thanks! Cheers