|
@@ -157,7 +157,7 @@ static int tegra_flowctrl_probe(struct platform_device *pdev)
|
|
res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
|
|
res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
|
|
tegra_flowctrl_base = devm_ioremap_resource(&pdev->dev, res);
|
|
tegra_flowctrl_base = devm_ioremap_resource(&pdev->dev, res);
|
|
if (IS_ERR(tegra_flowctrl_base))
|
|
if (IS_ERR(tegra_flowctrl_base))
|
|
- return PTR_ERR(base);
|
|
|
|
|
|
+ return PTR_ERR(tegra_flowctrl_base);
|
|
|
|
|
|
iounmap(base);
|
|
iounmap(base);
|
|
|
|
|