diff options
Diffstat (limited to 'arm-tegra-ahb.patch')
-rw-r--r-- | arm-tegra-ahb.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/arm-tegra-ahb.patch b/arm-tegra-ahb.patch new file mode 100644 index 000000000..747b5c215 --- /dev/null +++ b/arm-tegra-ahb.patch @@ -0,0 +1,14 @@ +diff --git a/drivers/amba/tegra-ahb.c b/drivers/amba/tegra-ahb.c +index ab92785..093c435 100644 +--- a/drivers/amba/tegra-ahb.c ++++ b/drivers/amba/tegra-ahb.c +@@ -130,7 +130,7 @@ static inline void gizmo_writel(struct tegra_ahb *ahb, u32 value, u32 offset) + writel(value, ahb->regs + offset); + } + +-#ifdef CONFIG_ARCH_TEGRA_3x_SOC ++#ifdef CONFIG_TEGRA_IOMMU_SMMU + static int tegra_ahb_match_by_smmu(struct device *dev, void *data) + { + struct tegra_ahb *ahb = dev_get_drvdata(dev); + |