mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-24 21:54:01 +00:00
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>
This commit is contained in:
parent
4b19b89ca4
commit
1b71695228
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue