openwrt/target/linux/layerscape/patches-5.4/701-net-0056-sdk-dpa-adapt-compatibles-to-upstream-binding-docume.patch

26 lines
834 B
Diff
Raw Normal View History

From d3ec1bf411a208028d06ffbb0f0ed461096977a8 Mon Sep 17 00:00:00 2001
From: Madalin Bucur <madalin.bucur@nxp.com>
Date: Fri, 20 Oct 2017 16:42:26 +0300
Subject: [PATCH] sdk: dpa: adapt compatibles to upstream binding document
Signed-off-by: Madalin Bucur <madalin.bucur@nxp.com>
---
drivers/net/ethernet/freescale/sdk_dpaa/mac.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
--- a/drivers/net/ethernet/freescale/sdk_dpaa/mac.c
+++ b/drivers/net/ethernet/freescale/sdk_dpaa/mac.c
@@ -133,10 +133,10 @@ static int __cold free_macdev(struct mac
static const struct of_device_id mac_match[] = {
[DTSEC] = {
- .compatible = "fsl,fman-1g-mac"
+ .compatible = "fsl,fman-dtsec"
},
[XGMAC] = {
- .compatible = "fsl,fman-10g-mac"
+ .compatible = "fsl,fman-xgec"
},
[MEMAC] = {
.compatible = "fsl,fman-memac"