diff options
author | Randy Dunlap <rdunlap@infradead.org> | 2018-01-19 11:19:33 -0800 |
---|---|---|
committer | Mark Salter <msalter@redhat.com> | 2018-04-10 09:58:38 -0400 |
commit | 319938bd6f07e59ba55dff0abb3b51f5230a8f24 (patch) | |
tree | 637091e2ef421a9e9aecb29fd7a759bc15f95d7a /net/switchdev/switchdev.c | |
parent | f5ad907e31345807c5c2bd0fbb12a120e82e3042 (diff) | |
download | linux-319938bd6f07e59ba55dff0abb3b51f5230a8f24.tar.gz linux-319938bd6f07e59ba55dff0abb3b51f5230a8f24.tar.xz |
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>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions