aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/amba/tegra-ahb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/amba/tegra-ahb.c b/drivers/amba/tegra-ahb.c
index 536c166f4253..1247052b9db6 100644
--- a/drivers/amba/tegra-ahb.c
+++ b/drivers/amba/tegra-ahb.c
@@ -129,7 +129,7 @@ static inline void gizmo_writel(struct tegra_ahb *ahb, u32 value, u32 offset)
129 writel(value, ahb->regs + offset); 129 writel(value, ahb->regs + offset);
130} 130}
131 131
132#ifdef CONFIG_ARCH_TEGRA_3x_SOC 132#ifdef CONFIG_TEGRA_IOMMU_SMMU
133static int tegra_ahb_match_by_smmu(struct device *dev, void *data) 133static int tegra_ahb_match_by_smmu(struct device *dev, void *data)
134{ 134{
135 struct tegra_ahb *ahb = dev_get_drvdata(dev); 135 struct tegra_ahb *ahb = dev_get_drvdata(dev);