summaryrefslogtreecommitdiff
path: root/drivers/fpga
diff options
context:
space:
mode:
authorWu Hao <hao.wu@intel.com>2018-06-30 03:53:29 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-07-15 14:55:46 +0300
commit7514a4249c479c0b56a112306496a9aa3bad312b (patch)
tree0426a78bf2a99b9985511eb33e198f53d5353d41 /drivers/fpga
parentbb61b9be3e6b001f1571b230316bf3867dc41df3 (diff)
downloadlinux-7514a4249c479c0b56a112306496a9aa3bad312b.tar.xz
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>
Diffstat (limited to 'drivers/fpga')
-rw-r--r--drivers/fpga/dfl-fme-region.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/fpga/dfl-fme-region.c b/drivers/fpga/dfl-fme-region.c
index a6e0bde7cc31..0b7e19c27c6d 100644
--- a/drivers/fpga/dfl-fme-region.c
+++ b/drivers/fpga/dfl-fme-region.c
@@ -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);