|
@@ -516,9 +516,7 @@ static void sdricoh_pcmcia_detach(struct pcmcia_device *link)
|
|
#ifdef CONFIG_PM
|
|
#ifdef CONFIG_PM
|
|
static int sdricoh_pcmcia_suspend(struct pcmcia_device *link)
|
|
static int sdricoh_pcmcia_suspend(struct pcmcia_device *link)
|
|
{
|
|
{
|
|
- struct mmc_host *mmc = link->priv;
|
|
|
|
dev_dbg(&link->dev, "suspend\n");
|
|
dev_dbg(&link->dev, "suspend\n");
|
|
- mmc_suspend_host(mmc);
|
|
|
|
return 0;
|
|
return 0;
|
|
}
|
|
}
|
|
|
|
|
|
@@ -527,7 +525,6 @@ static int sdricoh_pcmcia_resume(struct pcmcia_device *link)
|
|
struct mmc_host *mmc = link->priv;
|
|
struct mmc_host *mmc = link->priv;
|
|
dev_dbg(&link->dev, "resume\n");
|
|
dev_dbg(&link->dev, "resume\n");
|
|
sdricoh_reset(mmc_priv(mmc));
|
|
sdricoh_reset(mmc_priv(mmc));
|
|
- mmc_resume_host(mmc);
|
|
|
|
return 0;
|
|
return 0;
|
|
}
|
|
}
|
|
#else
|
|
#else
|