firmware: xilinx: Export zynqmp_pm_fpga_{get_status,load}
authorNathan Chancellor <natechancellor@gmail.com>
Sat, 2 May 2020 02:59:58 +0000 (19:59 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 4 May 2020 07:15:00 +0000 (09:15 +0200)
commit56a9a8068637b624f6724f58c6137f4410616558
tree458500fe5eeb91fb591fc79b36feb8df845fb026
parent7aa428dfc83c8f2c2d1b184b960efb9bc790c0d8
firmware: xilinx: Export zynqmp_pm_fpga_{get_status,load}

When building arm64 allmodconfig:

ERROR: modpost: "zynqmp_pm_fpga_load" [drivers/fpga/zynqmp-fpga.ko] undefined!
ERROR: modpost: "zynqmp_pm_fpga_get_status" [drivers/fpga/zynqmp-fpga.ko] undefined!

These functions were added to drivers/fpga/zynqmp-fpga.c but not
exported so the module build breaks. Export them so that they can be
used in modules properly.

Fixes: 4db8180ffe7c ("firmware: xilinx: Remove eemi ops for fpga related APIs")
Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
Reported-by: "kernelci.org bot" <bot@kernelci.org>
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Link: https://lore.kernel.org/r/20200502025958.2714249-1-natechancellor@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/firmware/xilinx/zynqmp.c