From: Randy Dunlap Date: Fri, 19 Jan 2018 19:19:33 +0000 (-0800) Subject: c6x: fix platforms/plldata.c get_coreid build error X-Git-Tag: v4.17-rc1~58^2~1 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=319938bd6f07e59ba55dff0abb3b51f5230a8f24;p=uclinux-h8%2Flinux.git c6x: fix platforms/plldata.c get_coreid build error Fix build error reported by the 0day bot by including the header file for that macro. Fixes this build error: (should fix; not tested) arch/c6x/platforms/plldata.c: In function 'c6472_setup_clocks': arch/c6x/platforms/plldata.c:279:33: error: implicit declaration of function 'get_coreid'; did you mean 'get_order'? [-Werror=implicit-function-declaration] c6x_core_clk.parent = &sysclks[get_coreid() + 1]; Reported-by: Fengguang Wu Cc: Mark Salter Cc: Aurelien Jacquiot Cc: linux-c6x-dev@linux-c6x.org Cc: Ingo Molnar Signed-off-by: Randy Dunlap Signed-off-by: Mark Salter --- diff --git a/arch/c6x/platforms/plldata.c b/arch/c6x/platforms/plldata.c index e8b6cc6a7b5a..1ef04b5ab93f 100644 --- a/arch/c6x/platforms/plldata.c +++ b/arch/c6x/platforms/plldata.c @@ -19,6 +19,7 @@ #include #include +#include #include /*