fpga: fpga-mgr: wrap the write_sg() op
An FPGA manager should not be required to provide a write_sg function. Move the op check to the wrapper. Default to -EOPNOTSUP so its users will fail gracefully. [mdf@kernel.org: Reworded first line] Signed-off-by: NTom Rix <trix@redhat.com> Signed-off-by: NMoritz Fischer <mdf@kernel.org>
Showing
想要评论请 注册 或 登录