mmc: sdhci_f_sdh30: Staticize local functions
Make local functions static. Signed-off-by: Axel Lin <axel.lin@ingics.com> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
This commit is contained in:
parent
bd455029d0
commit
cee4e7a5c0
|
@ -49,7 +49,7 @@ struct f_sdhost_priv {
|
||||||
struct device *dev;
|
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);
|
struct f_sdhost_priv *priv = sdhci_priv(host);
|
||||||
u32 ctrl = 0;
|
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);
|
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;
|
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)
|
if (sdhci_readw(host, SDHCI_CLOCK_CONTROL) == 0)
|
||||||
sdhci_writew(host, 0xBC01, SDHCI_CLOCK_CONTROL);
|
sdhci_writew(host, 0xBC01, SDHCI_CLOCK_CONTROL);
|
||||||
|
|
Loading…
Reference in New Issue