1
0
Fork 0
alistair23-linux/arch/c6x/platforms
Randy Dunlap 319938bd6f 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 <fengguang.wu@intel.com>
Cc: Mark Salter <msalter@redhat.com>
Cc: Aurelien Jacquiot <jacquiot.aurelien@gmail.com>
Cc: linux-c6x-dev@linux-c6x.org
Cc: Ingo Molnar <mingo@kernel.org>

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Mark Salter <msalter@redhat.com>
2018-04-10 09:58:38 -04:00
..
Kconfig License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
Makefile c6x: Remove unnecessary of_platform_populate with default match table 2016-06-23 14:59:39 -05:00
cache.c c6x: Fix misspellings in comments. 2016-04-18 12:45:53 +02:00
dscr.c C6X: DSCR - Device State Configuration Registers 2011-10-06 19:48:36 -04:00
emif.c C6X: fix layout of EMIFA registers 2012-01-08 15:12:09 -05:00
megamod-pic.c c6x: Convert to using %pOF instead of full_name 2017-08-24 09:35:40 -04:00
pll.c C6X: clocks 2011-10-06 19:48:07 -04:00
plldata.c c6x: fix platforms/plldata.c get_coreid build error 2018-04-10 09:58:38 -04:00
timer64.c c6x: Convert to using %pOF instead of full_name 2017-08-24 09:35:40 -04:00