diff mbox series

[PATCHv1,3/7] fpga: stratix10-soc: add compatible property value for intel agilex

Message ID 1581696052-11540-4-git-send-email-richard.gong@linux.intel.com
State New
Headers show
Series [PATCHv1,1/7] dt-bindings: fpga: add compatible value to Stratix10 SoC FPGA manager binding | expand

Commit Message

richard.gong@linux.intel.com Feb. 14, 2020, 4 p.m. UTC
From: Richard Gong <richard.gong@intel.com>

Add compatible property value so we can reuse FPGA manager driver on
Intel Agilex SoC platform.

Signed-off-by: Richard Gong <richard.gong@intel.com>
---
 drivers/fpga/stratix10-soc.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/drivers/fpga/stratix10-soc.c b/drivers/fpga/stratix10-soc.c
index 215d337..bac93d0 100644
--- a/drivers/fpga/stratix10-soc.c
+++ b/drivers/fpga/stratix10-soc.c
@@ -482,7 +482,8 @@  static int s10_remove(struct platform_device *pdev)
 }
 
 static const struct of_device_id s10_of_match[] = {
-	{ .compatible = "intel,stratix10-soc-fpga-mgr", },
+	{.compatible = "intel,stratix10-soc-fpga-mgr"},
+	{.compatible = "intel,agilex-soc-fpga-mgr"},
 	{},
 };