[PATCH] net: mvneta: add Armada XP compatible

Sebastian Hesselbarth sebastian.hesselbarth at gmail.com
Thu Oct 8 14:20:11 PDT 2015


Marvell NETA Network Engine found in Armada 370 and XP SoCs
also has a different compatible for Armada XP. Add the compatible
to the of_device_id list.

Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth at gmail.com>
---
Cc: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
Cc: Ezequiel Garcia <ezequiel at vanguardiasur.com.ar>
Cc: barebox at lists.infradead.org
---
 drivers/net/mvneta.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/net/mvneta.c b/drivers/net/mvneta.c
index aab52c45deec..1690f3b576c7 100644
--- a/drivers/net/mvneta.c
+++ b/drivers/net/mvneta.c
@@ -761,6 +761,7 @@ static int mvneta_probe(struct device_d *dev)
 
 static struct of_device_id mvneta_dt_ids[] = {
 	{ .compatible = "marvell,armada-370-neta", },
+	{ .compatible = "marvell,armada-xp-neta" },
 	{ }
 };
 
-- 
2.1.0




More information about the barebox mailing list