aboutsummaryrefslogtreecommitdiff
path: root/drivers/power/exynos-tmu.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/power/exynos-tmu.c')
-rw-r--r--drivers/power/exynos-tmu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/power/exynos-tmu.c b/drivers/power/exynos-tmu.c
index 9a093a5bddd..b9968c25eb2 100644
--- a/drivers/power/exynos-tmu.c
+++ b/drivers/power/exynos-tmu.c
@@ -180,7 +180,7 @@ enum tmu_status_t tmu_monitor(int *temp)
*/
static int get_tmu_fdt_values(struct tmu_info *info, const void *blob)
{
-#ifdef CONFIG_OF_CONTROL
+#if CONFIG_IS_ENABLED(OF_CONTROL)
fdt_addr_t addr;
int node;
int error = 0;