]> git.baikalelectronics.ru Git - uboot.git/commit
xilinx: common: Add print_cpuinfo() declaration
authorVenkatesh Yadav Abbarapu <venkatesh.abbarapu@amd.com>
Tue, 4 Oct 2022 05:50:53 +0000 (11:20 +0530)
committerMichal Simek <michal.simek@amd.com>
Mon, 10 Oct 2022 10:28:08 +0000 (12:28 +0200)
commit9da1daab6d903938220f646395ef53e3de1860c6
tree9d9f55b540c9c4249eb2db5137ef07e1406ac7e8
parentacacd5e4407c9a6638afbc02b922911e68d753e5
xilinx: common: Add print_cpuinfo() declaration

cpu-info.c defines print_cpuinfo(), but neglected to
include its declaration, causing the following sparse and
compile time warnings:

board/xilinx/common/cpu-info.c:10:5:
warning: no previous prototype for 'print_cpuinfo'
[-Wmissing-prototypes]

Include init.h, which includes the missing declaration.

Signed-off-by: Venkatesh Yadav Abbarapu <venkatesh.abbarapu@amd.com>
Link: https://lore.kernel.org/r/20221004055053.26047-1-venkatesh.abbarapu@amd.com
Signed-off-by: Michal Simek <michal.simek@amd.com>
board/xilinx/common/cpu-info.c