summaryrefslogtreecommitdiff
path: root/drivers/fpga/dfl-fme.h
diff options
context:
space:
mode:
authorWu Hao <hao.wu@intel.com>2019-08-04 13:20:15 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-08-05 19:01:24 +0300
commit15bbb300fcef4e62e4f6063cc29e698796027b98 (patch)
treefa0e0c6ef9da511c4b53d9a447116717956341fa /drivers/fpga/dfl-fme.h
parentd2ad5ac1cda7c30c9ded04d0e21aba528f1f96ec (diff)
downloadlinux-15bbb300fcef4e62e4f6063cc29e698796027b98.tar.xz
fpga: dfl: add id_table for dfl private feature driver
This patch adds id_table for each dfl private feature driver, it allows to reuse same private feature driver to match and support multiple dfl private features. Signed-off-by: Xu Yilun <yilun.xu@intel.com> Signed-off-by: Wu Hao <hao.wu@intel.com> Acked-by: Moritz Fischer <mdf@kernel.org> Acked-by: Alan Tull <atull@kernel.org> Signed-off-by: Moritz Fischer <mdf@kernel.org> Link: https://lore.kernel.org/r/1564914022-3710-6-git-send-email-hao.wu@intel.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/fpga/dfl-fme.h')
-rw-r--r--drivers/fpga/dfl-fme.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/fpga/dfl-fme.h b/drivers/fpga/dfl-fme.h
index 5394a216c5c0..e4131e857dae 100644
--- a/drivers/fpga/dfl-fme.h
+++ b/drivers/fpga/dfl-fme.h
@@ -33,6 +33,7 @@ struct dfl_fme {
struct dfl_feature_platform_data *pdata;
};
-extern const struct dfl_feature_ops pr_mgmt_ops;
+extern const struct dfl_feature_ops fme_pr_mgmt_ops;
+extern const struct dfl_feature_id fme_pr_mgmt_id_table[];
#endif /* __DFL_FME_H */