0d70af3c25
The FPGA bridge class driver data structure is being treated as a managed resource instead of using the standard dev_release call-back function to release the class data structure. This change removes the managed resource code and combines the create() and register() functions into a single register() function. Signed-off-by: Russ Weight <russell.h.weight@intel.com> Reviewed-by: Xu Yilun <yilun.xu@intel.com> Acked-by: Xu Yilun <yilun.xu@intel.com> Signed-off-by: Moritz Fischer <mdf@kernel.org>
23 lines
625 B
ReStructuredText
23 lines
625 B
ReStructuredText
FPGA Bridge
|
|
===========
|
|
|
|
API to implement a new FPGA bridge
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
|
* struct fpga_bridge - The FPGA Bridge structure
|
|
* struct fpga_bridge_ops - Low level Bridge driver ops
|
|
* fpga_bridge_register() - Create and register a bridge
|
|
* fpga_bridge_unregister() - Unregister a bridge
|
|
|
|
.. kernel-doc:: include/linux/fpga/fpga-bridge.h
|
|
:functions: fpga_bridge
|
|
|
|
.. kernel-doc:: include/linux/fpga/fpga-bridge.h
|
|
:functions: fpga_bridge_ops
|
|
|
|
.. kernel-doc:: drivers/fpga/fpga-bridge.c
|
|
:functions: fpga_bridge_register
|
|
|
|
.. kernel-doc:: drivers/fpga/fpga-bridge.c
|
|
:functions: fpga_bridge_unregister
|