projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'for-next' of git://github.com/rydberg/linux into next
[firefly-linux-kernel-4.4.55.git]
/
drivers
/
memory
/
tegra30-mc.c
diff --git
a/drivers/memory/tegra30-mc.c
b/drivers/memory/tegra30-mc.c
index 0b975986777db93a4db42959e8fe599c040e2810..f4ae074badc37e5187d2a172b30e8e0c4112be90 100644
(file)
--- a/
drivers/memory/tegra30-mc.c
+++ b/
drivers/memory/tegra30-mc.c
@@
-268,6
+268,7
@@
static const u32 tegra30_mc_ctx[] = {
MC_INTMASK,
};
+#ifdef CONFIG_PM
static int tegra30_mc_suspend(struct device *dev)
{
int i;
@@
-291,6
+292,7
@@
static int tegra30_mc_resume(struct device *dev)
mc_readl(mc, MC_TIMING_CONTROL);
return 0;
}
+#endif
static UNIVERSAL_DEV_PM_OPS(tegra30_mc_pm,
tegra30_mc_suspend,