aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/layerscape/patches-5.4/701-net-0056-sdk-dpa-adapt-compatibles-to-upstream-binding-docume.patch
blob: c1903a2bb3c297e52d3093fc22690680c11d3c5b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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"