diff options
Diffstat (limited to 'arch/arm/mach-shmobile/board-mackerel.c')
-rw-r--r-- | arch/arm/mach-shmobile/board-mackerel.c | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/arch/arm/mach-shmobile/board-mackerel.c b/arch/arm/mach-shmobile/board-mackerel.c index a1c1dfb6a67a..88e4f457193b 100644 --- a/arch/arm/mach-shmobile/board-mackerel.c +++ b/arch/arm/mach-shmobile/board-mackerel.c | |||
@@ -972,11 +972,11 @@ static struct platform_device nand_flash_device = { | |||
972 | }; | 972 | }; |
973 | 973 | ||
974 | /* SDHI0 */ | 974 | /* SDHI0 */ |
975 | static struct sh_mobile_sdhi_info sdhi0_info = { | 975 | static struct tmio_mmc_data sdhi0_info = { |
976 | .dma_slave_tx = SHDMA_SLAVE_SDHI0_TX, | 976 | .chan_priv_tx = (void *)SHDMA_SLAVE_SDHI0_TX, |
977 | .dma_slave_rx = SHDMA_SLAVE_SDHI0_RX, | 977 | .chan_priv_rx = (void *)SHDMA_SLAVE_SDHI0_RX, |
978 | .tmio_flags = TMIO_MMC_USE_GPIO_CD, | 978 | .flags = TMIO_MMC_USE_GPIO_CD, |
979 | .tmio_caps = MMC_CAP_SD_HIGHSPEED | MMC_CAP_SDIO_IRQ, | 979 | .capabilities = MMC_CAP_SD_HIGHSPEED | MMC_CAP_SDIO_IRQ, |
980 | .cd_gpio = 172, | 980 | .cd_gpio = 172, |
981 | }; | 981 | }; |
982 | 982 | ||
@@ -1011,11 +1011,11 @@ static struct platform_device sdhi0_device = { | |||
1011 | /* SDHI1 */ | 1011 | /* SDHI1 */ |
1012 | 1012 | ||
1013 | /* GPIO 41 can trigger IRQ8, but it is used by USBHS1, we have to poll */ | 1013 | /* GPIO 41 can trigger IRQ8, but it is used by USBHS1, we have to poll */ |
1014 | static struct sh_mobile_sdhi_info sdhi1_info = { | 1014 | static struct tmio_mmc_data sdhi1_info = { |
1015 | .dma_slave_tx = SHDMA_SLAVE_SDHI1_TX, | 1015 | .chan_priv_tx = (void *)SHDMA_SLAVE_SDHI1_TX, |
1016 | .dma_slave_rx = SHDMA_SLAVE_SDHI1_RX, | 1016 | .chan_priv_rx = (void *)SHDMA_SLAVE_SDHI1_RX, |
1017 | .tmio_flags = TMIO_MMC_WRPROTECT_DISABLE | TMIO_MMC_USE_GPIO_CD, | 1017 | .flags = TMIO_MMC_WRPROTECT_DISABLE | TMIO_MMC_USE_GPIO_CD, |
1018 | .tmio_caps = MMC_CAP_SD_HIGHSPEED | MMC_CAP_SDIO_IRQ | | 1018 | .capabilities = MMC_CAP_SD_HIGHSPEED | MMC_CAP_SDIO_IRQ | |
1019 | MMC_CAP_NEEDS_POLL, | 1019 | MMC_CAP_NEEDS_POLL, |
1020 | .cd_gpio = 41, | 1020 | .cd_gpio = 41, |
1021 | }; | 1021 | }; |
@@ -1054,11 +1054,11 @@ static struct platform_device sdhi1_device = { | |||
1054 | * The card detect pin of the top SD/MMC slot (CN23) is active low and is | 1054 | * The card detect pin of the top SD/MMC slot (CN23) is active low and is |
1055 | * connected to GPIO SCIFB_SCK of SH7372 (GPIO 162). | 1055 | * connected to GPIO SCIFB_SCK of SH7372 (GPIO 162). |
1056 | */ | 1056 | */ |
1057 | static struct sh_mobile_sdhi_info sdhi2_info = { | 1057 | static struct tmio_mmc_data sdhi2_info = { |
1058 | .dma_slave_tx = SHDMA_SLAVE_SDHI2_TX, | 1058 | .chan_priv_tx = (void *)SHDMA_SLAVE_SDHI2_TX, |
1059 | .dma_slave_rx = SHDMA_SLAVE_SDHI2_RX, | 1059 | .chan_priv_rx = (void *)SHDMA_SLAVE_SDHI2_RX, |
1060 | .tmio_flags = TMIO_MMC_WRPROTECT_DISABLE | TMIO_MMC_USE_GPIO_CD, | 1060 | .flags = TMIO_MMC_WRPROTECT_DISABLE | TMIO_MMC_USE_GPIO_CD, |
1061 | .tmio_caps = MMC_CAP_SD_HIGHSPEED | MMC_CAP_SDIO_IRQ | | 1061 | .capabilities = MMC_CAP_SD_HIGHSPEED | MMC_CAP_SDIO_IRQ | |
1062 | MMC_CAP_NEEDS_POLL, | 1062 | MMC_CAP_NEEDS_POLL, |
1063 | .cd_gpio = 162, | 1063 | .cd_gpio = 162, |
1064 | }; | 1064 | }; |