projects
/
profile
/
ivi
/
kernel-x86-ivi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
84b808d
)
memory: tegra30: Fix build error w/o PM
author
Hiroshi Doyu
<hdoyu@nvidia.com>
Thu, 14 Mar 2013 09:12:10 +0000
(11:12 +0200)
committer
Stephen Warren
<swarren@nvidia.com>
Fri, 15 Mar 2013 19:22:13 +0000
(13:22 -0600)
Make this depend on CONFIG_PM.
Signed-off-by: Hiroshi Doyu <hdoyu@nvidia.com>
Reviewed-by: Thierry Reding <thierry.reding@avionic-design.de>
Signed-off-by: Stephen Warren <swarren@nvidia.com>
drivers/memory/tegra30-mc.c
patch
|
blob
|
history
diff --git
a/drivers/memory/tegra30-mc.c
b/drivers/memory/tegra30-mc.c
index
0b97598
..
f4ae074
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,