]> git.sur5r.net Git - u-boot/commit
mmc: sdhci: fix build warning
authorLei Wen <leiwen@marvell.com>
Sat, 8 Oct 2011 04:14:55 +0000 (04:14 +0000)
committerAndy Fleming <afleming@freescale.com>
Thu, 3 Nov 2011 07:14:59 +0000 (02:14 -0500)
commit0d2f15f9c77a911d95100bf791a9619af900eb2f
tree179632c581f030bdae2683dc4a57174888f55efc
parent2c2ec4c969e1d3db940679c63e8f749d1129c190
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>
include/sdhci.h