diff options
author | Jaehoon Chung <jh80.chung@samsung.com> | 2013-10-06 18:59:31 +0900 |
---|---|---|
committer | Pantelis Antoniou <panto@antoniou-consulting.com> | 2013-10-31 09:55:33 +0200 |
commit | b44fe83a580c21082486931367277c02d48c6469 (patch) | |
tree | 3297215bd09f0c1a7fbdd08e1048993715087ce2 /drivers/mmc/dw_mmc.c | |
parent | 1937e5aa3b0ec0767a36580db654ef8918c09b84 (diff) | |
download | u-boot-imx-b44fe83a580c21082486931367277c02d48c6469.zip u-boot-imx-b44fe83a580c21082486931367277c02d48c6469.tar.gz u-boot-imx-b44fe83a580c21082486931367277c02d48c6469.tar.bz2 |
mmc: dw_mmc: change the callback function name.
To prevent the confusion, use the get_mmc_clk() instead of mmc_clk().
get_mmc_clk() is more exactly name.
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Acked-by: Pantelis Antoniou <panto@antoniou-consulting.com>
Diffstat (limited to 'drivers/mmc/dw_mmc.c')
-rw-r--r-- | drivers/mmc/dw_mmc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/mmc/dw_mmc.c b/drivers/mmc/dw_mmc.c index 9a803a0..174e3b5 100644 --- a/drivers/mmc/dw_mmc.c +++ b/drivers/mmc/dw_mmc.c @@ -220,12 +220,12 @@ static int dwmci_setup_bus(struct dwmci_host *host, u32 freq) if ((freq == host->clock) || (freq == 0)) return 0; /* - * If host->mmc_clk didn't define, + * If host->get_mmc_clk didn't define, * then assume that host->bus_hz is source clock value. * host->bus_hz should be set from user. */ - if (host->mmc_clk) - sclk = host->mmc_clk(host->dev_index); + if (host->get_mmc_clk) + sclk = host->get_mmc_clk(host->dev_index); else if (host->bus_hz) sclk = host->bus_hz; else { |