Skip to content

Commit 571d78b

Browse files
WuHao270gregkh
authored andcommitted
fpga: mgr: add region_id to fpga_image_info
This patch adds region_id to fpga_image_info data structure, it allows driver to pass region id information to fpga-mgr via fpga_image_info for fpga reconfiguration function. Signed-off-by: Wu Hao <hao.wu@intel.com> Acked-by: Moritz Fischer <mdf@kernel.org> Acked-by: Alan Tull <atull@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent c73c9ad commit 571d78b

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎include/linux/fpga/fpga-mgr.h‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ enum fpga_mgr_states {
7777
* @sgt: scatter/gather table containing FPGA image
7878
* @buf: contiguous buffer containing FPGA image
7979
* @count: size of buf
80+
* @region_id: id of target region
8081
* @dev: device that owns this
8182
* @overlay: Device Tree overlay
8283
*/
@@ -89,6 +90,7 @@ struct fpga_image_info {
8990
struct sg_table *sgt;
9091
const char *buf;
9192
size_t count;
93+
int region_id;
9294
struct device *dev;
9395
#ifdef CONFIG_OF
9496
struct device_node *overlay;

0 commit comments

Comments
 (0)