Merge tag 'driver-core-5.3-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git...
[sfrench/cifs-2.6.git] / drivers / amba / tegra-ahb.c
index 3eaa459ae0579d0c839399874491cbd0d0723464..aa64eece77a66a08a9816505f9e341770385e196 100644 (file)
@@ -134,10 +134,10 @@ static inline void gizmo_writel(struct tegra_ahb *ahb, u32 value, u32 offset)
 }
 
 #ifdef CONFIG_TEGRA_IOMMU_SMMU
-static int tegra_ahb_match_by_smmu(struct device *dev, void *data)
+static int tegra_ahb_match_by_smmu(struct device *dev, const void *data)
 {
        struct tegra_ahb *ahb = dev_get_drvdata(dev);
-       struct device_node *dn = data;
+       const struct device_node *dn = data;
 
        return (ahb->dev->of_node == dn) ? 1 : 0;
 }