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:
Родитель
bb61b9be3e
Коммит
7514a4249c
|
@ -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);
|
||||
|
|
Загрузка…
Ссылка в новой задаче