]> git.dujemihanovic.xyz Git - u-boot.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)
commitfaf6a286f1329e398083a85e59c26fccc943c47d
tree9d9f55b540c9c4249eb2db5137ef07e1406ac7e8
parentb451330df228975be814aaaebc3bf4ad5cbf1e23
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