diff options
Diffstat (limited to 'drivers/mmc/host/dw_mmc.c')
-rw-r--r-- | drivers/mmc/host/dw_mmc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/host/dw_mmc.c b/drivers/mmc/host/dw_mmc.c index f9457e5ed9b7..692c3ba30335 100644 --- a/drivers/mmc/host/dw_mmc.c +++ b/drivers/mmc/host/dw_mmc.c | |||
@@ -295,7 +295,6 @@ static void dw_mci_stop_dma(struct dw_mci *host) | |||
295 | } | 295 | } |
296 | } | 296 | } |
297 | 297 | ||
298 | #ifdef CONFIG_MMC_DW_IDMAC | ||
299 | static int dw_mci_get_dma_dir(struct mmc_data *data) | 298 | static int dw_mci_get_dma_dir(struct mmc_data *data) |
300 | { | 299 | { |
301 | if (data->flags & MMC_DATA_WRITE) | 300 | if (data->flags & MMC_DATA_WRITE) |
@@ -304,6 +303,7 @@ static int dw_mci_get_dma_dir(struct mmc_data *data) | |||
304 | return DMA_FROM_DEVICE; | 303 | return DMA_FROM_DEVICE; |
305 | } | 304 | } |
306 | 305 | ||
306 | #ifdef CONFIG_MMC_DW_IDMAC | ||
307 | static void dw_mci_dma_cleanup(struct dw_mci *host) | 307 | static void dw_mci_dma_cleanup(struct dw_mci *host) |
308 | { | 308 | { |
309 | struct mmc_data *data = host->data; | 309 | struct mmc_data *data = host->data; |