Browse files

ARM: 7675/1: amba: tegra-ahb: Fix build error w/ PM_SLEEP w/o PM_RUNTIME

Make this depend on CONFIG_PM. This protection is necessary to not
cause any build errors with any combination of PM features especially
when supporting a new SoC where each PM features are being enabled
one-by-one during its depelopment.

Signed-off-by: Hiroshi Doyu <>
Signed-off-by: Russell King <>
  • Loading branch information...
hdoyu authored and Russell King committed Mar 15, 2013
1 parent f7db706 commit 2c36af0e559c0a0674ad846527116df41aa5f612
Showing with 1 addition and 1 deletion.
  1. +1 −1 drivers/amba/tegra-ahb.c
@@ -158,7 +158,7 @@ int tegra_ahb_enable_smmu(struct device_node *dn)
+#ifdef CONFIG_PM
static int tegra_ahb_suspend(struct device *dev)
int i;

0 comments on commit 2c36af0

Please sign in to comment.