From: Anup Patel Date: Mon, 18 Jan 2021 03:59:33 +0000 (+0530) Subject: platform: template: Fix compile error X-Git-Tag: v0.9~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=da5293f7425964b7eae554711fc507003db9881b;p=platform%2Fkernel%2Fopensbi.git platform: template: Fix compile error This clint driver init functions were incorrectly used in template platform which resulted in compile error. This patch fixes clint driver function usage in template platform. Signed-off-by: Anup Patel Reviewed-by: Atish Patra --- diff --git a/platform/template/platform.c b/platform/template/platform.c index 758e95f..5bdb186 100644 --- a/platform/template/platform.c +++ b/platform/template/platform.c @@ -107,7 +107,7 @@ static int platform_ipi_init(bool cold_boot) /* Example if the generic CLINT driver is used */ if (cold_boot) { - ret = clint_cold_ipi_init(&clint, NULL); + ret = clint_cold_ipi_init(&clint); if (ret) return ret; } @@ -142,7 +142,7 @@ static int platform_timer_init(bool cold_boot) /* Example if the generic CLINT driver is used */ if (cold_boot) { - ret = clint_cold_timer_init(&clint); + ret = clint_cold_timer_init(&clint, NULL); if (ret) return ret; }