[d-kernel] [PATCH 1/7] net: stmmac: dwmac-baikal: add another compatible string

Daniil Gnusarev
1970-01-01T00:00:02Z

Add the 'aq,dwmac' compatible string to the baikal-gmac-dwmac driver
to work with older firmware versions.

Signed-off-by: Daniil Gnusarev <gnusarevda@basealt.ru>
Do-not-upstream: this is a feature of Baikal-M
---
drivers/net/ethernet/stmicro/stmmac/dwmac-baikal.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/drivers/net/ethernet/stmicro/stmmac/dwmac-baikal.c b/drivers/net/ethernet/stmicro/stmmac/dwmac-baikal.c
index 788ad01e62361..f216004eabec4 100644
--- a/drivers/net/ethernet/stmicro/stmmac/dwmac-baikal.c
+++ b/drivers/net/ethernet/stmicro/stmmac/dwmac-baikal.c
@@ -479,6 +479,7 @@ static void baikal_gmac_remove(struct platform_device *pdev)
}

static const struct of_device_id baikal_gmac_dwmac_match[] = {
+ { .compatible = "aq,dwmac" },
{ .compatible = "baikal,bm1000-gmac" },
{ .compatible = "baikal,bs1000-gmac" },
{ }
--
2.42.2