layerscape: add patches-5.4
[openwrt/staging/mkresin.git] / target / linux / layerscape / patches-5.4 / 701-net-0056-sdk-dpa-adapt-compatibles-to-upstream-binding-docume.patch
1 From d3ec1bf411a208028d06ffbb0f0ed461096977a8 Mon Sep 17 00:00:00 2001
2 From: Madalin Bucur <madalin.bucur@nxp.com>
3 Date: Fri, 20 Oct 2017 16:42:26 +0300
4 Subject: [PATCH] sdk: dpa: adapt compatibles to upstream binding document
5
6 Signed-off-by: Madalin Bucur <madalin.bucur@nxp.com>
7 ---
8 drivers/net/ethernet/freescale/sdk_dpaa/mac.c | 4 ++--
9 1 file changed, 2 insertions(+), 2 deletions(-)
10
11 --- a/drivers/net/ethernet/freescale/sdk_dpaa/mac.c
12 +++ b/drivers/net/ethernet/freescale/sdk_dpaa/mac.c
13 @@ -133,10 +133,10 @@ static int __cold free_macdev(struct mac
14
15 static const struct of_device_id mac_match[] = {
16 [DTSEC] = {
17 - .compatible = "fsl,fman-1g-mac"
18 + .compatible = "fsl,fman-dtsec"
19 },
20 [XGMAC] = {
21 - .compatible = "fsl,fman-10g-mac"
22 + .compatible = "fsl,fman-xgec"
23 },
24 [MEMAC] = {
25 .compatible = "fsl,fman-memac"