aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/arm/utgard/common/mali_osk_mali.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/arm/utgard/common/mali_osk_mali.h')
-rw-r--r--drivers/gpu/arm/utgard/common/mali_osk_mali.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/arm/utgard/common/mali_osk_mali.h b/drivers/gpu/arm/utgard/common/mali_osk_mali.h
index 230dbecc2040..b27fb7dd36ed 100644
--- a/drivers/gpu/arm/utgard/common/mali_osk_mali.h
+++ b/drivers/gpu/arm/utgard/common/mali_osk_mali.h
@@ -30,7 +30,7 @@ extern "C" {
*/
typedef struct mali_gpu_device_data _mali_osk_device_data;
-#ifdef CONFIG_MALI_DT
+#if defined(CONFIG_MALI_DT) && !defined(CONFIG_MALI_PLAT_SPECIFIC_DT)
/** @brief Initialize those device resources when we use device tree
*
* @return _MALI_OSK_ERR_OK on success, otherwise failure.