diff options
Diffstat (limited to 'target/linux/ramips/patches-4.3/0514-net-mediatek-fix_esw.patch')
-rw-r--r-- | target/linux/ramips/patches-4.3/0514-net-mediatek-fix_esw.patch | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/target/linux/ramips/patches-4.3/0514-net-mediatek-fix_esw.patch b/target/linux/ramips/patches-4.3/0514-net-mediatek-fix_esw.patch index 0ea4592483..de44a9f286 100644 --- a/target/linux/ramips/patches-4.3/0514-net-mediatek-fix_esw.patch +++ b/target/linux/ramips/patches-4.3/0514-net-mediatek-fix_esw.patch @@ -8,7 +8,7 @@ #include <linux/switch.h> -@@ -1332,7 +1333,6 @@ +@@ -1332,7 +1333,6 @@ static int esw_probe(struct platform_dev const __be32 *port_map, *reg_init; struct switch_dev *swdev; struct rt305x_esw *esw; @@ -16,7 +16,7 @@ int ret; esw = devm_kzalloc(&pdev->dev, sizeof(*esw), GFP_KERNEL); -@@ -1340,7 +1340,7 @@ +@@ -1340,7 +1340,7 @@ static int esw_probe(struct platform_dev return -ENOMEM; esw->dev = &pdev->dev; @@ -25,7 +25,7 @@ esw->base = devm_ioremap_resource(&pdev->dev, res); if (!esw->base) return -EADDRNOTAVAIL; -@@ -1365,7 +1365,7 @@ +@@ -1365,7 +1365,7 @@ static int esw_probe(struct platform_dev ret = register_switch(swdev, NULL); if (ret < 0) { dev_err(&pdev->dev, "register_switch failed\n"); @@ -34,7 +34,7 @@ } platform_set_drvdata(pdev, esw); -@@ -1383,11 +1383,6 @@ +@@ -1383,11 +1383,6 @@ static int esw_probe(struct platform_dev } return ret; |