OSDN Git Service

fpga: dfl: afu: add port ops support
authorWu Hao <hao.wu@intel.com>
Sat, 30 Jun 2018 00:53:31 +0000 (08:53 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 15 Jul 2018 11:55:46 +0000 (13:55 +0200)
commit47c1b19c160fe1641469c145dba78fbbe48b996a
tree3da80333a70069b2b38e26d858e1d5dfcb1665aa
parent1a1527cf5ddacc6716a3cacfa232111d92ffd93b
fpga: dfl: afu: add port ops support

This patch registers the port ops into the global list in the DFL
framework, and it allows other modules to use the port ops. And
This patch includes the implementation of the get_id and enable_set
ops too.

Signed-off-by: Wu Hao <hao.wu@intel.com>
Acked-by: Alan Tull <atull@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/fpga/dfl-afu-main.c