projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bb61b9b
)
fpga: dfl: fme-region: add support for compat_id
author
Wu Hao
<hao.wu@intel.com>
Sat, 30 Jun 2018 00:53:29 +0000
(08:53 +0800)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Sun, 15 Jul 2018 11:55:46 +0000
(13:55 +0200)
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>
drivers/fpga/dfl-fme-region.c
patch
|
blob
|
history
diff --git
a/drivers/fpga/dfl-fme-region.c
b/drivers/fpga/dfl-fme-region.c
index a6e0bde7cc31b5e6e2c2fba9aeb721b9c43db51a..0b7e19c27c6ddc0beea61064c377d070e0a1b540 100644
(file)
--- 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);