mmc: SuperH Mobile changes for tmio_mmc
Subsystems (2)
PATCH 1/1 mmc: SuperH Mobile changes for tmio_mmc
From: Magnus Damm <[email protected]>
Update the tmio_mmc driver to enable SuperH Mobile hardware.
Signed-off-by Magnus Damm <[email protected]>
---
Please apply on top of the following patch by Ian Molton:
"Example idea for how to solve the clock/cnf problem"
drivers/mmc/host/Kconfig | 2 +- drivers/mmc/host/tmio_mmc.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
drivers/mmc/host/Kconfig +1 -1
@@ -273,7 +273,7 @@ config MMC_SDRICOH_CS config MMC_TMIO tristate "Toshiba Mobile IO Controller (TMIO) MMC/SD function support" - depends on MFD_TMIO || MFD_ASIC3 + depends on MFD_TMIO || MFD_ASIC3 || SUPERH help This provides support for the SD/MMC cell found in TC6393XB, T7L66XB and also HTC ASIC3
drivers/mmc/host/tmio_mmc.c +1 -1
@@ -516,7 +516,7 @@ static int __devinit tmio_mmc_probe(strustruct mmc_host *mmc;int ret = -EINVAL ; -if (dev->num_resources !=3 ) +if (dev->num_resources !=2 ) goto out; res_ctl =platform_get_resource (dev,IORESOURCE_MEM ,0 );