OSDN Git Service

fpga: mgr: add compat_id support
authorWu Hao <hao.wu@intel.com>
Sat, 30 Jun 2018 00:53:11 +0000 (08:53 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 15 Jul 2018 11:55:44 +0000 (13:55 +0200)
commit99a560bde313892f87ca81db568a829d3d205882
tree3079d0343af5c0113b6924ec87b81206f64aa11b
parentecb5fbe299dfaad778033259f35bc696fa1fb743
fpga: mgr: add compat_id support

This patch introduces compat_id support to fpga manager, it adds
a fpga_compat_id pointer to fpga manager data structure to allow
fpga manager drivers to save the compatibility id. This compat_id
could be used for compatibility checking before doing partial
reconfiguration to associated fpga regions.

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>
include/linux/fpga/fpga-mgr.h