diff options
author | Wu Hao <hao.wu@intel.com> | 2018-06-30 08:53:18 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-07-15 13:55:45 +0200 |
commit | d06b004b99c960828523e581a3b7d109dfc1329b (patch) | |
tree | 8d71c06019550d35982d92b25f032a1f7ca57ffe /kernel/printk | |
parent | 6e8fd6e493bfca83021cc6a8fd86d7f69bd14fc6 (diff) |
fpga: dfl: add dfl_fpga_check_port_id function.
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 <hao.wu@intel.com>
Acked-by: Alan Tull <atull@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'kernel/printk')
0 files changed, 0 insertions, 0 deletions