aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'drivers')
-rw-r--r--drivers/thermal/samsung/exynos_tmu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/thermal/samsung/exynos_tmu.c b/drivers/thermal/samsung/exynos_tmu.c
index ec01dfe4bef3..a033dbbf979e 100644
--- a/drivers/thermal/samsung/exynos_tmu.c
+++ b/drivers/thermal/samsung/exynos_tmu.c
@@ -592,7 +592,7 @@ static int exynos_map_dt_data(struct platform_device *pdev)
592 592
593 data->base_common = devm_ioremap(&pdev->dev, res.start, 593 data->base_common = devm_ioremap(&pdev->dev, res.start,
594 resource_size(&res)); 594 resource_size(&res));
595 if (!data->base) { 595 if (!data->base_common) {
596 dev_err(&pdev->dev, "Failed to ioremap memory\n"); 596 dev_err(&pdev->dev, "Failed to ioremap memory\n");
597 return -ENOMEM; 597 return -ENOMEM;
598 } 598 }