Re: [PATCH v5 11/28] fpga: dfl: add dfl_fpga_check_port_id function.

2018-06-05 Thread Alan Tull
On Tue, May 1, 2018 at 9:50 PM, Wu Hao wrote: Hi Hao, > This patch adds one common function in DFL framework. It uses > port_ops get_id callback to get port id and compare it with given > value. This function could be used as match function of the > dfl_fpga_cdev_find_port function. > > Signed-o

[PATCH v5 11/28] fpga: dfl: add dfl_fpga_check_port_id function.

2018-05-01 Thread Wu Hao
This patch adds one common function in DFL framework. It uses port_ops get_id callback to get port id and compare it with given value. This function could be used as match function of the dfl_fpga_cdev_find_port function. Signed-off-by: Wu Hao --- drivers/fpga/dfl.c | 22 ++