aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-shmobile
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-shmobile')
-rw-r--r--arch/arm/mach-shmobile/board-mackerel.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/arm/mach-shmobile/board-mackerel.c b/arch/arm/mach-shmobile/board-mackerel.c
index 4e70ac40f9c3..008bd7f7883f 100644
--- a/arch/arm/mach-shmobile/board-mackerel.c
+++ b/arch/arm/mach-shmobile/board-mackerel.c
@@ -803,6 +803,15 @@ static struct resource sh_mmcif_resources[] = {
803 }, 803 },
804}; 804};
805 805
806static struct sh_mmcif_dma sh_mmcif_dma = {
807 .chan_priv_rx = {
808 .slave_id = SHDMA_SLAVE_MMCIF_RX,
809 },
810 .chan_priv_tx = {
811 .slave_id = SHDMA_SLAVE_MMCIF_TX,
812 },
813};
814
806static struct sh_mmcif_plat_data sh_mmcif_plat = { 815static struct sh_mmcif_plat_data sh_mmcif_plat = {
807 .sup_pclk = 0, 816 .sup_pclk = 0,
808 .ocr = MMC_VDD_165_195 | MMC_VDD_32_33 | MMC_VDD_33_34, 817 .ocr = MMC_VDD_165_195 | MMC_VDD_32_33 | MMC_VDD_33_34,
@@ -810,6 +819,7 @@ static struct sh_mmcif_plat_data sh_mmcif_plat = {
810 MMC_CAP_8_BIT_DATA | 819 MMC_CAP_8_BIT_DATA |
811 MMC_CAP_NEEDS_POLL, 820 MMC_CAP_NEEDS_POLL,
812 .get_cd = slot_cn7_get_cd, 821 .get_cd = slot_cn7_get_cd,
822 .dma = &sh_mmcif_dma,
813}; 823};
814 824
815static struct platform_device sh_mmcif_device = { 825static struct platform_device sh_mmcif_device = {