mmc: pic32_sdhci: rename {pci->pic}32_sdhci_get_cd
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Fri, 13 Jan 2017 03:13:48 +0000 (12:13 +0900)
committerJaehoon Chung <jh80.chung@samsung.com>
Fri, 13 Jan 2017 03:17:18 +0000 (12:17 +0900)
I suspect this is a typo.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
drivers/mmc/pic32_sdhci.c

index fd2f5e3d5a85ef4ce5d44d0861129c02d8733bb3..c06364cfc1205fe42e59e6a55d04f96a42875933 100644 (file)
@@ -15,7 +15,7 @@
 
 DECLARE_GLOBAL_DATA_PTR;
 
-static int pci32_sdhci_get_cd(struct sdhci_host *host)
+static int pic32_sdhci_get_cd(struct sdhci_host *host)
 {
        /* PIC32 SDHCI CD errata:
         * - set CD_TEST and clear CD_TEST_INS bit
@@ -26,7 +26,7 @@ static int pci32_sdhci_get_cd(struct sdhci_host *host)
 }
 
 static const struct sdhci_ops pic32_sdhci_ops = {
-       .get_cd = pci32_sdhci_get_cd,
+       .get_cd = pic32_sdhci_get_cd,
 };
 
 static int pic32_sdhci_probe(struct udevice *dev)