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 <hao.wu@intel.com> Acked-by: Alan Tull <atull@kernel.org> Acked-by: Moritz Fischer <mdf@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
bb61b9be3e
commit
7514a4249c
1 changed files with 1 additions and 0 deletions
|
@ -45,6 +45,7 @@ static int fme_region_probe(struct platform_device *pdev)
|
|||
}
|
||||
|
||||
region->priv = pdata;
|
||||
region->compat_id = mgr->compat_id;
|
||||
platform_set_drvdata(pdev, region);
|
||||
|
||||
ret = fpga_region_register(region);
|
||||
|
|
Loading…
Reference in a new issue