Commit 0e5f06f1 authored by Russell King's avatar Russell King

[MMC] PXAMCI: Bracket power management calls with CONFIG_PM.

parent b6d45af7
......@@ -530,6 +530,7 @@ static int pxamci_remove(struct device *dev)
return 0;
}
#ifdef CONFIG_PM
static int pxamci_suspend(struct device *dev, u32 state, u32 level)
{
struct mmc_host *mmc = dev_get_drvdata(dev);
......@@ -551,6 +552,10 @@ static int pxamci_resume(struct device *dev, u32 level)
return ret;
}
#else
#define pxamci_suspend NULL
#define pxamci_resume NULL
#endif
static struct device_driver pxamci_driver = {
.name = "pxa2xx-mci",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment