diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2012-04-21 22:35:42 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2012-07-31 12:06:23 +0100 |
commit | 3451c06754b5777d227aa99f85c35bdfabac3ca0 (patch) | |
tree | c2767908557ff53952c0b85cb5191a8214965c9e /drivers/mmc/host/omap_hsmmc.c | |
parent | 26b88520b80695a6fa5fd95b5d97c03f4daf87e0 (diff) | |
download | blackbird-op-linux-3451c06754b5777d227aa99f85c35bdfabac3ca0.tar.gz blackbird-op-linux-3451c06754b5777d227aa99f85c35bdfabac3ca0.zip |
mmc: omap: add DMA engine support
Add DMA engine support to the OMAP driver. This supplements the
private DMA API implementation contained within this driver, and the
driver can be switched at build time between using DMA engine and the
private DMA API.
Tested-by: Tony Lindgren <tony@atomide.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'drivers/mmc/host/omap_hsmmc.c')
-rw-r--r-- | drivers/mmc/host/omap_hsmmc.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/mmc/host/omap_hsmmc.c b/drivers/mmc/host/omap_hsmmc.c index 2b2c98773f15..2338703746a4 100644 --- a/drivers/mmc/host/omap_hsmmc.c +++ b/drivers/mmc/host/omap_hsmmc.c @@ -30,6 +30,7 @@ #include <linux/of.h> #include <linux/of_gpio.h> #include <linux/of_device.h> +#include <linux/omap-dma.h> #include <linux/mmc/host.h> #include <linux/mmc/core.h> #include <linux/mmc/mmc.h> @@ -1766,8 +1767,6 @@ static inline struct omap_mmc_platform_data } #endif -extern bool omap_dma_filter_fn(struct dma_chan *chan, void *param); - static int __devinit omap_hsmmc_probe(struct platform_device *pdev) { struct omap_mmc_platform_data *pdata = pdev->dev.platform_data; |