Loading drivers/iommu/arm-smmu.c +6 −2 Original line number Diff line number Diff line Loading @@ -4396,7 +4396,11 @@ static int arm_smmu_device_dt_probe(struct platform_device *pdev) smmu->arch_ops = data->arch_ops; res = platform_get_resource(pdev, IORESOURCE_MEM, 0); if (res) if (res == NULL) { dev_err(dev, "no MEM resource info\n"); return -EINVAL; } smmu->phys_addr = res->start; smmu->base = devm_ioremap_resource(dev, res); if (IS_ERR(smmu->base)) Loading Loading
drivers/iommu/arm-smmu.c +6 −2 Original line number Diff line number Diff line Loading @@ -4396,7 +4396,11 @@ static int arm_smmu_device_dt_probe(struct platform_device *pdev) smmu->arch_ops = data->arch_ops; res = platform_get_resource(pdev, IORESOURCE_MEM, 0); if (res) if (res == NULL) { dev_err(dev, "no MEM resource info\n"); return -EINVAL; } smmu->phys_addr = res->start; smmu->base = devm_ioremap_resource(dev, res); if (IS_ERR(smmu->base)) Loading