diff options
-rw-r--r-- | drivers/memory/tegra30-mc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/memory/tegra30-mc.c b/drivers/memory/tegra30-mc.c index 0b975986777d..f4ae074badc3 100644 --- a/drivers/memory/tegra30-mc.c +++ b/drivers/memory/tegra30-mc.c | |||
@@ -268,6 +268,7 @@ static const u32 tegra30_mc_ctx[] = { | |||
268 | MC_INTMASK, | 268 | MC_INTMASK, |
269 | }; | 269 | }; |
270 | 270 | ||
271 | #ifdef CONFIG_PM | ||
271 | static int tegra30_mc_suspend(struct device *dev) | 272 | static int tegra30_mc_suspend(struct device *dev) |
272 | { | 273 | { |
273 | int i; | 274 | int i; |
@@ -291,6 +292,7 @@ static int tegra30_mc_resume(struct device *dev) | |||
291 | mc_readl(mc, MC_TIMING_CONTROL); | 292 | mc_readl(mc, MC_TIMING_CONTROL); |
292 | return 0; | 293 | return 0; |
293 | } | 294 | } |
295 | #endif | ||
294 | 296 | ||
295 | static UNIVERSAL_DEV_PM_OPS(tegra30_mc_pm, | 297 | static UNIVERSAL_DEV_PM_OPS(tegra30_mc_pm, |
296 | tegra30_mc_suspend, | 298 | tegra30_mc_suspend, |