aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/layerscape/patches-4.4/7222-dpaa2-ethsw-fix-compile-error-on-backport-to-4.4.patch
blob: 16499218afcacbedf657e14cc639947de4f79002 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
From c51ed10a001d3fd5b80b7bb92f2d5182f1d9fa5a Mon Sep 17 00:00:00 2001
From: Stuart Yoder <stuart.yoder@nxp.com>
Date: Thu, 25 Aug 2016 16:10:12 -0500
Subject: [PATCH 222/226] dpaa2-ethsw: fix compile error on backport to 4.4

Signed-off-by: Stuart Yoder <stuart.yoder@nxp.com>
---
 drivers/staging/fsl-dpaa2/ethsw/switch.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/drivers/staging/fsl-dpaa2/ethsw/switch.c
+++ b/drivers/staging/fsl-dpaa2/ethsw/switch.c
@@ -1625,7 +1625,7 @@ ethsw_probe(struct fsl_mc_device *sw_dev
 
 		rtnl_lock();
 
-		err = netdev_master_upper_dev_link(port_netdev, netdev, NULL, NULL);
+		err = netdev_master_upper_dev_link(port_netdev, netdev);
 		if (err) {
 			dev_err(dev, "netdev_master_upper_dev_link error %d\n",
 				err);