From 7514a4249c479c0b56a112306496a9aa3bad312b Mon Sep 17 00:00:00 2001 From: Wu Hao Date: Sat, 30 Jun 2018 08:53:29 +0800 Subject: 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 Acked-by: Alan Tull Acked-by: Moritz Fischer Signed-off-by: Greg Kroah-Hartman --- drivers/fpga/dfl-fme-region.c | 1 + 1 file changed, 1 insertion(+) (limited to 'drivers/fpga') 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); -- cgit v1.2.3-58-ga151