mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-21 06:31:31 +00:00
sunxi: mmc: Add 'sunxi_' prefix to the static functions
This results in a much more readable callgraph, because now they can't be confused with the function having exactly the same name in the generic mmc code. Signed-off-by: Siarhei Siamashka <siarhei.siamashka@gmail.com> Acked-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com>
This commit is contained in:
parent
47e3501a76
commit
5abdb156bb
1 changed files with 7 additions and 7 deletions
|
@ -215,7 +215,7 @@ static int mmc_config_clock(struct mmc *mmc)
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void mmc_set_ios(struct mmc *mmc)
|
static void sunxi_mmc_set_ios(struct mmc *mmc)
|
||||||
{
|
{
|
||||||
struct sunxi_mmc_host *mmchost = mmc->priv;
|
struct sunxi_mmc_host *mmchost = mmc->priv;
|
||||||
|
|
||||||
|
@ -237,7 +237,7 @@ static void mmc_set_ios(struct mmc *mmc)
|
||||||
writel(0x0, &mmchost->reg->width);
|
writel(0x0, &mmchost->reg->width);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int mmc_core_init(struct mmc *mmc)
|
static int sunxi_mmc_core_init(struct mmc *mmc)
|
||||||
{
|
{
|
||||||
struct sunxi_mmc_host *mmchost = mmc->priv;
|
struct sunxi_mmc_host *mmchost = mmc->priv;
|
||||||
|
|
||||||
|
@ -298,8 +298,8 @@ static int mmc_rint_wait(struct mmc *mmc, unsigned int timeout_msecs,
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
static int mmc_send_cmd(struct mmc *mmc, struct mmc_cmd *cmd,
|
static int sunxi_mmc_send_cmd(struct mmc *mmc, struct mmc_cmd *cmd,
|
||||||
struct mmc_data *data)
|
struct mmc_data *data)
|
||||||
{
|
{
|
||||||
struct sunxi_mmc_host *mmchost = mmc->priv;
|
struct sunxi_mmc_host *mmchost = mmc->priv;
|
||||||
unsigned int cmdval = SUNXI_MMC_CMD_START;
|
unsigned int cmdval = SUNXI_MMC_CMD_START;
|
||||||
|
@ -432,9 +432,9 @@ static int sunxi_mmc_getcd(struct mmc *mmc)
|
||||||
}
|
}
|
||||||
|
|
||||||
static const struct mmc_ops sunxi_mmc_ops = {
|
static const struct mmc_ops sunxi_mmc_ops = {
|
||||||
.send_cmd = mmc_send_cmd,
|
.send_cmd = sunxi_mmc_send_cmd,
|
||||||
.set_ios = mmc_set_ios,
|
.set_ios = sunxi_mmc_set_ios,
|
||||||
.init = mmc_core_init,
|
.init = sunxi_mmc_core_init,
|
||||||
.getcd = sunxi_mmc_getcd,
|
.getcd = sunxi_mmc_getcd,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue