diff mbox

[1/1] mmc: vub300: Staticize vub300_init_card

Message ID 1372228350-6375-1-git-send-email-sachin.kamat@linaro.org (mailing list archive)
State New, archived
Headers show

Commit Message

Sachin Kamat June 26, 2013, 6:32 a.m. UTC
'vub300_init_card' is used only in this file. Make it
static.

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

Comments

Sachin Kamat July 23, 2013, 3:39 a.m. UTC | #1
On 26 June 2013 12:02, Sachin Kamat <sachin.kamat@linaro.org> wrote:
> 'vub300_init_card' is used only in this file. Make it
> static.
>
> Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
> ---
>  drivers/mmc/host/vub300.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/mmc/host/vub300.c b/drivers/mmc/host/vub300.c
> index cb9f361..e9028ad 100644
> --- a/drivers/mmc/host/vub300.c
> +++ b/drivers/mmc/host/vub300.c
> @@ -2079,7 +2079,7 @@ static void vub300_enable_sdio_irq(struct mmc_host *mmc, int enable)
>         kref_put(&vub300->kref, vub300_delete);
>  }
>
> -void vub300_init_card(struct mmc_host *mmc, struct mmc_card *card)
> +static void vub300_init_card(struct mmc_host *mmc, struct mmc_card *card)
>  {                              /* NOT irq */
>         struct vub300_mmc_host *vub300 = mmc_priv(mmc);
>         dev_info(&vub300->udev->dev, "NO host QUIRKS for this card\n");
> --
> 1.7.9.5
>

Ping..
Sachin Kamat Aug. 2, 2013, 8:49 a.m. UTC | #2
On 26 June 2013 12:02, Sachin Kamat <sachin.kamat@linaro.org> wrote:
> 'vub300_init_card' is used only in this file. Make it
> static.
>
> Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
> ---
>  drivers/mmc/host/vub300.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/mmc/host/vub300.c b/drivers/mmc/host/vub300.c
> index cb9f361..e9028ad 100644
> --- a/drivers/mmc/host/vub300.c
> +++ b/drivers/mmc/host/vub300.c
> @@ -2079,7 +2079,7 @@ static void vub300_enable_sdio_irq(struct mmc_host *mmc, int enable)
>         kref_put(&vub300->kref, vub300_delete);
>  }
>
> -void vub300_init_card(struct mmc_host *mmc, struct mmc_card *card)
> +static void vub300_init_card(struct mmc_host *mmc, struct mmc_card *card)
>  {                              /* NOT irq */
>         struct vub300_mmc_host *vub300 = mmc_priv(mmc);
>         dev_info(&vub300->udev->dev, "NO host QUIRKS for this card\n");
> --
> 1.7.9.5
>

Chris,

Any comments on this patch?
Chris Ball Aug. 25, 2013, 1:40 a.m. UTC | #3
Hi Sachin,

On Wed, Jun 26 2013, Sachin Kamat wrote:
> 'vub300_init_card' is used only in this file. Make it
> static.
>
> Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
> ---
>  drivers/mmc/host/vub300.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/mmc/host/vub300.c b/drivers/mmc/host/vub300.c
> index cb9f361..e9028ad 100644
> --- a/drivers/mmc/host/vub300.c
> +++ b/drivers/mmc/host/vub300.c
> @@ -2079,7 +2079,7 @@ static void vub300_enable_sdio_irq(struct mmc_host *mmc, int enable)
>  	kref_put(&vub300->kref, vub300_delete);
>  }
>  
> -void vub300_init_card(struct mmc_host *mmc, struct mmc_card *card)
> +static void vub300_init_card(struct mmc_host *mmc, struct mmc_card *card)
>  {				/* NOT irq */
>  	struct vub300_mmc_host *vub300 = mmc_priv(mmc);
>  	dev_info(&vub300->udev->dev, "NO host QUIRKS for this card\n");

Thanks, pushed to mmc-next for 3.12.

- Chris.
diff mbox

Patch

diff --git a/drivers/mmc/host/vub300.c b/drivers/mmc/host/vub300.c
index cb9f361..e9028ad 100644
--- a/drivers/mmc/host/vub300.c
+++ b/drivers/mmc/host/vub300.c
@@ -2079,7 +2079,7 @@  static void vub300_enable_sdio_irq(struct mmc_host *mmc, int enable)
 	kref_put(&vub300->kref, vub300_delete);
 }
 
-void vub300_init_card(struct mmc_host *mmc, struct mmc_card *card)
+static void vub300_init_card(struct mmc_host *mmc, struct mmc_card *card)
 {				/* NOT irq */
 	struct vub300_mmc_host *vub300 = mmc_priv(mmc);
 	dev_info(&vub300->udev->dev, "NO host QUIRKS for this card\n");