aboutsummaryrefslogtreecommitdiff
path: root/drivers/mfd/glamo/glamo-mci.c
diff options
context:
space:
mode:
authorAndrzej Zaborowski <balrog@zabor.org>2008-11-19 17:10:53 +0000
committerAndy Green <agreen@pads.home.warmcat.com>2008-11-19 17:10:53 +0000
commit27ef48d603cb23afd637071dbf9683155c83e58a (patch)
tree69541f00e54f9c668413b011a31bd2872b299aee /drivers/mfd/glamo/glamo-mci.c
parentabf08dec77817f58705505004b7a62f444ddba7f (diff)
fix-build-with-no-CONFIG_MMC
I hit this when updating to 2.6.26. Also if CONFIG_MMC is enabled this patch converts this horrible horrible hack into a horrible hack by using dev->resume() (untested). Signed-off-by: Andrzej Zaborowski <balrog@zabor.org>
Diffstat (limited to 'drivers/mfd/glamo/glamo-mci.c')
-rw-r--r--drivers/mfd/glamo/glamo-mci.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/mfd/glamo/glamo-mci.c b/drivers/mfd/glamo/glamo-mci.c
index b22f84aedfe..b2030556535 100644
--- a/drivers/mfd/glamo/glamo-mci.c
+++ b/drivers/mfd/glamo/glamo-mci.c
@@ -1005,7 +1005,7 @@ static int glamo_mci_suspend(struct platform_device *dev, pm_message_t state)
return ret;
}
-int glamo_mci_resume(struct platform_device *dev)
+static int glamo_mci_resume(struct platform_device *dev)
{
struct mmc_host *mmc = platform_get_drvdata(dev);
struct glamo_mci_host *host = mmc_priv(mmc);
@@ -1024,8 +1024,6 @@ int glamo_mci_resume(struct platform_device *dev)
return ret;
}
-EXPORT_SYMBOL_GPL(glamo_mci_resume);
-
#else /* CONFIG_PM */
#define glamo_mci_suspend NULL