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>
This commit is contained in:
committed by
Simon Glass
parent
dec0242be7
commit
5628347f59
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user