Skip to content

Commit 7514a42

Browse files
WuHao270gregkh
authored andcommitted
fpga: dfl: fme-region: add support for compat_id
This patch adds compat_id support, it reuses fme manager's compat id, as the per region compat id is actually from the fme manager's register. Signed-off-by: Wu Hao <[email protected]> Acked-by: Alan Tull <[email protected]> Acked-by: Moritz Fischer <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent bb61b9b commit 7514a42

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/fpga/dfl-fme-region.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ static int fme_region_probe(struct platform_device *pdev)
4545
}
4646

4747
region->priv = pdata;
48+
region->compat_id = mgr->compat_id;
4849
platform_set_drvdata(pdev, region);
4950

5051
ret = fpga_region_register(region);

0 commit comments

Comments
 (0)