summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHanumath Prasad <hanumath.prasad@stericsson.com>2011-10-31 14:51:19 +0530
committerPhilippe Langlais <philippe.langlais@stericsson.com>2012-05-22 11:02:58 +0200
commit2ca835ac89ca2ceb0ac1d37b0d38b7025b905fa4 (patch)
tree14d9151c0ee42057d35d107594dd5dd17096b9a6
parent5d92f256f768c38ea345bcbd8434944d8d03a734 (diff)
mach-ux500:u5500: Add missing CONFIG_STE_DMA40 into board-u5500-sdi.c
Signed-off-by: Hanumath Prasad <hanumath.prasad@stericsson.com> Signed-off-by: Philippe Langlais <philippe.langlais@stericsson.com>
-rw-r--r--arch/arm/mach-ux500/board-u5500-sdi.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-ux500/board-u5500-sdi.c b/arch/arm/mach-ux500/board-u5500-sdi.c
index 31a8c8ecdc9..0600c95278d 100644
--- a/arch/arm/mach-ux500/board-u5500-sdi.c
+++ b/arch/arm/mach-ux500/board-u5500-sdi.c
@@ -95,6 +95,7 @@ static int u5500_sdi1_ios_handler(struct device *dev, struct mmc_ios *ios)
return 0;
}
+#ifdef CONFIG_STE_DMA40
static struct stedma40_chan_cfg sdi1_dma_cfg_rx = {
.mode = STEDMA40_MODE_LOGICAL,
.dir = STEDMA40_PERIPH_TO_MEM,
@@ -112,6 +113,7 @@ static struct stedma40_chan_cfg sdi1_dma_cfg_tx = {
.src_info.data_width = STEDMA40_WORD_WIDTH,
.dst_info.data_width = STEDMA40_WORD_WIDTH,
};
+#endif
static struct mmci_platform_data u5500_sdi1_data = {
.ios_handler = u5500_sdi1_ios_handler,