Commit 983e5626 authored by Federico Vaga's avatar Federico Vaga

sw:drv:fcl: fix FPGA manager compatiblity layer

Signed-off-by: Federico Vaga's avatarFederico Vaga <federico.vaga@cern.ch>
parent 6fc64042
...@@ -83,7 +83,7 @@ int compat_fpga_mgr_register(struct fpga_manager *mgr) ...@@ -83,7 +83,7 @@ int compat_fpga_mgr_register(struct fpga_manager *mgr)
void compat_fpga_mgr_unregister(struct fpga_manager *mgr) void compat_fpga_mgr_unregister(struct fpga_manager *mgr)
{ {
fpga_mgr_unregister((struct device *)mgr); return mgr ? 0 : 1;
} }
#else #else
struct fpga_manager *compat_fpga_mgr_create(struct device *dev, struct fpga_manager *compat_fpga_mgr_create(struct device *dev,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment