diff options
| -rw-r--r-- | drivers/amba/tegra-ahb.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/amba/tegra-ahb.c b/drivers/amba/tegra-ahb.c index 0b6f0b28a48..ce8fdadf369 100644 --- a/drivers/amba/tegra-ahb.c +++ b/drivers/amba/tegra-ahb.c | |||
| @@ -156,6 +156,7 @@ int tegra_ahb_enable_smmu(struct device_node *dn) | |||
| 156 | EXPORT_SYMBOL(tegra_ahb_enable_smmu); | 156 | EXPORT_SYMBOL(tegra_ahb_enable_smmu); |
| 157 | #endif | 157 | #endif |
| 158 | 158 | ||
| 159 | #ifdef CONFIG_PM_SLEEP | ||
| 159 | static int tegra_ahb_suspend(struct device *dev) | 160 | static int tegra_ahb_suspend(struct device *dev) |
| 160 | { | 161 | { |
| 161 | int i; | 162 | int i; |
| @@ -175,6 +176,7 @@ static int tegra_ahb_resume(struct device *dev) | |||
| 175 | gizmo_writel(ahb, ahb->ctx[i], tegra_ahb_gizmo[i]); | 176 | gizmo_writel(ahb, ahb->ctx[i], tegra_ahb_gizmo[i]); |
| 176 | return 0; | 177 | return 0; |
| 177 | } | 178 | } |
| 179 | #endif | ||
| 178 | 180 | ||
| 179 | static UNIVERSAL_DEV_PM_OPS(tegra_ahb_pm, | 181 | static UNIVERSAL_DEV_PM_OPS(tegra_ahb_pm, |
| 180 | tegra_ahb_suspend, | 182 | tegra_ahb_suspend, |
