diff mbox

[U-Boot] mmc: pic32_sdhci: rename {pci->pci}32_sdhci_get_cd

Message ID 1484276474-496-1-git-send-email-yamada.masahiro@socionext.com
State Accepted
Commit 2cd44e1e6812201b6939134017b87215386813f5
Headers show

Commit Message

Masahiro Yamada Jan. 13, 2017, 3:01 a.m. UTC
I suspect this is a typo.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
---

 drivers/mmc/pic32_sdhci.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Jaehoon Chung Jan. 13, 2017, 3:17 a.m. UTC | #1
Hi 

On 01/13/2017 12:01 PM, Masahiro Yamada wrote:
> I suspect this is a typo.
> 
> Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>

Thanks! Applied on u-boot-mmc!

Best Regards,
Jaehoon Chung

> ---
> 
>  drivers/mmc/pic32_sdhci.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/mmc/pic32_sdhci.c b/drivers/mmc/pic32_sdhci.c
> index fd2f5e3..c06364c 100644
> --- a/drivers/mmc/pic32_sdhci.c
> +++ b/drivers/mmc/pic32_sdhci.c
> @@ -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)
>
diff mbox

Patch

diff --git a/drivers/mmc/pic32_sdhci.c b/drivers/mmc/pic32_sdhci.c
index fd2f5e3..c06364c 100644
--- a/drivers/mmc/pic32_sdhci.c
+++ b/drivers/mmc/pic32_sdhci.c
@@ -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)