diff options
author | Arnd Bergmann <arnd@arndb.de> | 2020-05-05 16:00:11 +0200 |
---|---|---|
committer | Moritz Fischer <mdf@kernel.org> | 2020-06-09 17:27:01 +0200 |
commit | 6a47d6efc6931b02d10163de2fb85ec9953c4f5e (patch) | |
tree | 5779ccd4065b6309436d14e3853cb77514a436bc /include/media | |
parent | Linux 5.7 (diff) | |
download | linux-6a47d6efc6931b02d10163de2fb85ec9953c4f5e.tar.xz linux-6a47d6efc6931b02d10163de2fb85ec9953c4f5e.zip |
fpga: zynqmp: fix modular build
Two symbols need to be exported to allow the zynqmp-fpga module
to get loaded dynamically:
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!
To ensure this is done correctly, also fix the Kconfig dependency
to only allow building the fpga driver when the firmware driver is
either disabled, or when it is reachable. With that, the dependency
on the SoC itself can be removed, and there are no surprises when
the fpga driver is built-in but the firmware a module.
Fixes: 4db8180ffe7c ("firmware: xilinx: Remove eemi ops for fpga related APIs")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Moritz Fischer <mdf@kernel.org>
Diffstat (limited to 'include/media')
0 files changed, 0 insertions, 0 deletions