summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorJaehoon Chung <jh80.chung@samsung.com>2016-06-28 15:52:21 +0900
committerSimon Glass <sjg@chromium.org>2016-07-27 14:14:37 -0600
commit5628347f59e1672f381b8113e85e47529770ab47 (patch)
tree0710a68b174bd5e124875e2e6283fac39d3be0a7 /drivers
parentdec0242be7b5544c3c4f9a7ead46fa5eeadd6222 (diff)
downloadu-boot-imx-5628347f59e1672f381b8113e85e47529770ab47.zip
u-boot-imx-5628347f59e1672f381b8113e85e47529770ab47.tar.gz
u-boot-imx-5628347f59e1672f381b8113e85e47529770ab47.tar.bz2
dm: mmc: dwmmc: use the callback functions as static
There are no places to call these functions. It should be used the callback function. Then it can be used as static functions. Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/mmc/dw_mmc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mmc/dw_mmc.c b/drivers/mmc/dw_mmc.c
index 2cf7bae..fe2147a 100644
--- a/drivers/mmc/dw_mmc.c
+++ b/drivers/mmc/dw_mmc.c
@@ -182,7 +182,7 @@ static int dwmci_set_transfer_mode(struct dwmci_host *host,
}
#ifdef CONFIG_DM_MMC_OPS
-int dwmci_send_cmd(struct udevice *dev, struct mmc_cmd *cmd,
+static int dwmci_send_cmd(struct udevice *dev, struct mmc_cmd *cmd,
struct mmc_data *data)
{
struct mmc *mmc = mmc_get_mmc_dev(dev);
@@ -381,7 +381,7 @@ static int dwmci_setup_bus(struct dwmci_host *host, u32 freq)
}
#ifdef CONFIG_DM_MMC_OPS
-int dwmci_set_ios(struct udevice *dev)
+static int dwmci_set_ios(struct udevice *dev)
{
struct mmc *mmc = mmc_get_mmc_dev(dev);
#else