diff options
author | Baruch Siach <baruch@tkos.co.il> | 2019-11-03 12:00:27 +0200 |
---|---|---|
committer | Peng Fan <peng.fan@nxp.com> | 2019-11-27 16:55:19 +0800 |
commit | 1b716952280082826e2c203c16db943c00b59640 (patch) | |
tree | 5358210e9e472ceb9fe7df8b3a4bddd89f98c333 /drivers | |
parent | 4b19b89ca4a866b7baa642533e6dbd67cd832d27 (diff) | |
download | u-boot-1b716952280082826e2c203c16db943c00b59640.zip u-boot-1b716952280082826e2c203c16db943c00b59640.tar.gz u-boot-1b716952280082826e2c203c16db943c00b59640.tar.bz2 |
mmc: sdhci: make sdhci_get_cd static
sdhci_get_cd() is not referenced anywhere else. Limit its scope to
sdhci.c.
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/mmc/sdhci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/sdhci.c b/drivers/mmc/sdhci.c index fbc576f..32e83db 100644 --- a/drivers/mmc/sdhci.c +++ b/drivers/mmc/sdhci.c @@ -660,7 +660,7 @@ int sdhci_probe(struct udevice *dev) return sdhci_init(mmc); } -int sdhci_get_cd(struct udevice *dev) +static int sdhci_get_cd(struct udevice *dev) { struct mmc *mmc = mmc_get_mmc_dev(dev); struct sdhci_host *host = mmc->priv; |