From d0a88fbbfffd7d6fbe482a04e4c70a52c6467c0c Mon Sep 17 00:00:00 2001 From: Joonyoung Shim Date: Mon, 23 May 2016 19:20:09 +0900 Subject: [PATCH] ARM: mali400: r5p2_rel0: fix of_match_table The exynos platform of this kernel has exynos specific of_match_table, so use mali_of_matches of exynos instead of base_dt_ids of mali. Signed-off-by: Joonyoung Shim --- drivers/gpu/arm/mali400/r5p2_rel0/linux/mali_kernel_linux.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/arm/mali400/r5p2_rel0/linux/mali_kernel_linux.c b/drivers/gpu/arm/mali400/r5p2_rel0/linux/mali_kernel_linux.c index e1fe5f388d4a..f653239edbee 100644 --- a/drivers/gpu/arm/mali400/r5p2_rel0/linux/mali_kernel_linux.c +++ b/drivers/gpu/arm/mali400/r5p2_rel0/linux/mali_kernel_linux.c @@ -187,6 +187,7 @@ static int mali_driver_runtime_resume(struct device *dev); static int mali_driver_runtime_idle(struct device *dev); #endif +extern const struct of_device_id mali_of_matches[]; extern void mali_platform_power_mode_change(int power_mode); #if defined(MALI_FAKE_PLATFORM_DEVICE) @@ -253,7 +254,7 @@ static struct platform_driver mali_platform_driver = { .pm = &mali_dev_pm_ops, #endif #ifdef CONFIG_MALI_DT - .of_match_table = of_match_ptr(base_dt_ids), + .of_match_table = of_match_ptr(mali_of_matches), #endif }, }; -- 2.34.1