From: Baruch Siach Date: Sun, 3 Nov 2019 10:00:27 +0000 (+0200) Subject: mmc: sdhci: make sdhci_get_cd static X-Git-Tag: v2025.01-rc5-pxa1908~2668^2~13 X-Git-Url: http://git.dujemihanovic.xyz/img/static/gitweb.css?a=commitdiff_plain;h=1b716952280082826e2c203c16db943c00b59640;p=u-boot.git 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 --- diff --git a/drivers/mmc/sdhci.c b/drivers/mmc/sdhci.c index fbc576fd72..32e83db8e0 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;