]> git.baikalelectronics.ru Git - uboot.git/commit
soc: xilinx: zynqmp: Mark soc_xilinx_zynqmp_get_machine() as static
authorVenkatesh Yadav Abbarapu <venkatesh.abbarapu@amd.com>
Tue, 4 Oct 2022 05:52:01 +0000 (11:22 +0530)
committerMichal Simek <michal.simek@amd.com>
Mon, 10 Oct 2022 10:28:08 +0000 (12:28 +0200)
commit6d47d4b0858d0e14190463c0a5daacb4d0393bd0
tree86d139a19b9b69c2ffbe378c0510f22e08416786
parent9da1daab6d903938220f646395ef53e3de1860c6
soc: xilinx: zynqmp: Mark soc_xilinx_zynqmp_get_machine() as static

Fix the following sparse and compile time warning triggered with W=1:

drivers/soc/soc_xilinx_zynqmp.c:288:5:
warning: no previous prototype for 'soc_xilinx_zynqmp_get_machine'
[-Wmissing-prototypes]

Signed-off-by: Venkatesh Yadav Abbarapu <venkatesh.abbarapu@amd.com>
Link: https://lore.kernel.org/r/20221004055201.26146-1-venkatesh.abbarapu@amd.com
Signed-off-by: Michal Simek <michal.simek@amd.com>
drivers/soc/soc_xilinx_zynqmp.c