diff mbox

[3/3] mmc: sdhci-bcm-kona: Staticize sdhci_bcm_kona_card_event

Message ID 1373263914-18050-3-git-send-email-sachin.kamat@linaro.org
State Accepted
Headers show

Commit Message

Sachin Kamat July 8, 2013, 6:11 a.m. UTC
sdhci_bcm_kona_card_event is referenced only in this file.
Make it static.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
---
 drivers/mmc/host/sdhci-bcm-kona.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Christian Daudt July 19, 2013, 8:31 p.m. UTC | #1
On 13-07-07 11:11 PM, Sachin Kamat wrote:
> sdhci_bcm_kona_card_event is referenced only in this file.
> Make it static.
>
> Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
> ---
>   drivers/mmc/host/sdhci-bcm-kona.c |    2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/mmc/host/sdhci-bcm-kona.c b/drivers/mmc/host/sdhci-bcm-kona.c
> index d7a44ae..f59f332 100644
> --- a/drivers/mmc/host/sdhci-bcm-kona.c
> +++ b/drivers/mmc/host/sdhci-bcm-kona.c
> @@ -161,7 +161,7 @@ static int sdhci_bcm_kona_sd_card_emulate(struct sdhci_host *host, int insert)
>   /*
>    * SD card interrupt event callback
>    */
> -void sdhci_bcm_kona_card_event(struct sdhci_host *host)
> +static void sdhci_bcm_kona_card_event(struct sdhci_host *host)
>   {
>   	if (mmc_gpio_get_cd(host->mmc) > 0) {
>   		dev_dbg(mmc_dev(host->mmc),
Acked-by: Christian Daudt <csd@broadcom.com>

  thanks,
    csd
diff mbox

Patch

diff --git a/drivers/mmc/host/sdhci-bcm-kona.c b/drivers/mmc/host/sdhci-bcm-kona.c
index d7a44ae..f59f332 100644
--- a/drivers/mmc/host/sdhci-bcm-kona.c
+++ b/drivers/mmc/host/sdhci-bcm-kona.c
@@ -161,7 +161,7 @@  static int sdhci_bcm_kona_sd_card_emulate(struct sdhci_host *host, int insert)
 /*
  * SD card interrupt event callback
  */
-void sdhci_bcm_kona_card_event(struct sdhci_host *host)
+static void sdhci_bcm_kona_card_event(struct sdhci_host *host)
 {
 	if (mmc_gpio_get_cd(host->mmc) > 0) {
 		dev_dbg(mmc_dev(host->mmc),