summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 6e25e1b)
raw | patch | inline | side by side (parent: 6e25e1b)
author | Hiroshi Doyu <hdoyu@nvidia.com> | |
Wed, 21 Nov 2012 12:41:37 +0000 (14:41 +0200) | ||
committer | Stephen Warren <swarren@nvidia.com> | |
Mon, 26 Nov 2012 21:01:07 +0000 (14:01 -0700) |
Fix build warning w/o PM_SLEEP.
Signed-off-by: Hiroshi Doyu <hdoyu@nvidia.com>
Signed-off-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Hiroshi Doyu <hdoyu@nvidia.com>
Signed-off-by: Stephen Warren <swarren@nvidia.com>
drivers/amba/tegra-ahb.c | patch | blob | history |
index 0b6f0b28a4872b2aa32fe6f1e656ff1ae4ca213d..ce8fdadf369679b87a57b9b73eea6753f9923b28 100644 (file)
--- a/drivers/amba/tegra-ahb.c
+++ b/drivers/amba/tegra-ahb.c
EXPORT_SYMBOL(tegra_ahb_enable_smmu);
#endif
+#ifdef CONFIG_PM_SLEEP
static int tegra_ahb_suspend(struct device *dev)
{
int i;
gizmo_writel(ahb, ahb->ctx[i], tegra_ahb_gizmo[i]);
return 0;
}
+#endif
static UNIVERSAL_DEV_PM_OPS(tegra_ahb_pm,
tegra_ahb_suspend,