Commit 7514a424 authored by Wu Hao's avatar Wu Hao Committed by Greg Kroah-Hartman

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: default avatarWu Hao <hao.wu@intel.com>
Acked-by: default avatarAlan Tull <atull@kernel.org>
Acked-by: default avatarMoritz Fischer <mdf@kernel.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent bb61b9be
...@@ -45,6 +45,7 @@ static int fme_region_probe(struct platform_device *pdev) ...@@ -45,6 +45,7 @@ static int fme_region_probe(struct platform_device *pdev)
} }
region->priv = pdata; region->priv = pdata;
region->compat_id = mgr->compat_id;
platform_set_drvdata(pdev, region); platform_set_drvdata(pdev, region);
ret = fpga_region_register(region); ret = fpga_region_register(region);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment