From: Joonyoung Shim Date: Mon, 23 May 2016 10:20:09 +0000 (+0900) Subject: ARM: mali400: r5p2_rel0: fix of_match_table X-Git-Tag: submit/tizen/20160810.050017~72 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d0a88fbbfffd7d6fbe482a04e4c70a52c6467c0c;p=platform%2Fkernel%2Flinux-exynos.git 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 --- 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 }, };