Re: [PATCH 1/2] mmc: sdhci_f_sdh30: Staticize local functions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 24 April 2015 at 09:00, Axel Lin <axel.lin@xxxxxxxxxx> wrote:
> Make local functions static.
>
> Signed-off-by: Axel Lin <axel.lin@xxxxxxxxxx>

Thanks, applied!

Kind regards
Uffe

> ---
>  drivers/mmc/host/sdhci_f_sdh30.c | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/drivers/mmc/host/sdhci_f_sdh30.c b/drivers/mmc/host/sdhci_f_sdh30.c
> index 2fe8b91..5397e27 100644
> --- a/drivers/mmc/host/sdhci_f_sdh30.c
> +++ b/drivers/mmc/host/sdhci_f_sdh30.c
> @@ -49,7 +49,7 @@ struct f_sdhost_priv {
>         struct device *dev;
>  };
>
> -void sdhci_f_sdh30_soft_voltage_switch(struct sdhci_host *host)
> +static void sdhci_f_sdh30_soft_voltage_switch(struct sdhci_host *host)
>  {
>         struct f_sdhost_priv *priv = sdhci_priv(host);
>         u32 ctrl = 0;
> @@ -77,12 +77,12 @@ void sdhci_f_sdh30_soft_voltage_switch(struct sdhci_host *host)
>         sdhci_writel(host, ctrl, F_SDH30_TUNING_SETTING);
>  }
>
> -unsigned int sdhci_f_sdh30_get_min_clock(struct sdhci_host *host)
> +static unsigned int sdhci_f_sdh30_get_min_clock(struct sdhci_host *host)
>  {
>         return F_SDH30_MIN_CLOCK;
>  }
>
> -void sdhci_f_sdh30_reset(struct sdhci_host *host, u8 mask)
> +static void sdhci_f_sdh30_reset(struct sdhci_host *host, u8 mask)
>  {
>         if (sdhci_readw(host, SDHCI_CLOCK_CONTROL) == 0)
>                 sdhci_writew(host, 0xBC01, SDHCI_CLOCK_CONTROL);
> --
> 2.1.0
>
>
>
--
To unsubscribe from this list: send the line "unsubscribe linux-mmc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux