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 <anup.patel@wdc.com>
Reviewed-by: Atish Patra <atish.patra@wdc.com>
/* 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;
}
/* 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;
}