diff options
author | Lei Wen <leiwen@marvell.com> | 2011-10-08 04:14:55 +0000 |
---|---|---|
committer | Andy Fleming <afleming@freescale.com> | 2011-11-03 02:14:59 -0500 |
commit | 0d2f15f9c77a911d95100bf791a9619af900eb2f (patch) | |
tree | 179632c581f030bdae2683dc4a57174888f55efc | |
parent | 2c2ec4c969e1d3db940679c63e8f749d1129c190 (diff) | |
download | u-boot-imx-0d2f15f9c77a911d95100bf791a9619af900eb2f.zip u-boot-imx-0d2f15f9c77a911d95100bf791a9619af900eb2f.tar.gz u-boot-imx-0d2f15f9c77a911d95100bf791a9619af900eb2f.tar.bz2 |
mmc: sdhci: fix build warning
If CONFIG_MMC_SDHCI_IO_ACCESSORS is defined, the following warning would
shows up:
include/sdhci.h:224: warning: 'struct sdhci_host' declared inside
parameter list
include/sdhci.h:224: warning: its scope is only this definition or
declaration, which is probably not what you want
include/sdhci.h:225: warning: 'struct sdhci_host' declared inside
parameter list
include/sdhci.h:226: warning: 'struct sdhci_host' declared inside
parameter list
include/sdhci.h:227: warning: 'struct sdhci_host' declared inside
parameter list
include/sdhci.h:228: warning: 'struct sdhci_host' declared inside
parameter list
include/sdhci.h:229: warning: 'struct sdhci_host' declared inside
parameter list
Signed-off-by: Lei Wen <leiwen@marvell.com>
-rw-r--r-- | include/sdhci.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/sdhci.h b/include/sdhci.h index 6d52ce9..e84d2dc 100644 --- a/include/sdhci.h +++ b/include/sdhci.h @@ -214,6 +214,9 @@ */ #define SDHCI_QUIRK_32BIT_DMA_ADDR (1 << 0) +/* to make gcc happy */ +struct sdhci_host; + /* * Host SDMA buffer boundary. Valid values from 4K to 512K in powers of 2. */ |