From a78fd8e4b736671eb4b90643ec0091f1210f0e14 Mon Sep 17 00:00:00 2001 From: Martin Kennedy Date: Wed, 10 Feb 2021 22:17:14 +0000 Subject: [PATCH] Fix a typo in a cvmx patch --- target/linux/octeon/patches-5.4/703-debug-it-all.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/linux/octeon/patches-5.4/703-debug-it-all.patch b/target/linux/octeon/patches-5.4/703-debug-it-all.patch index f23ec5d4b9..5db10cee8b 100644 --- a/target/linux/octeon/patches-5.4/703-debug-it-all.patch +++ b/target/linux/octeon/patches-5.4/703-debug-it-all.patch @@ -72,7 +72,7 @@ - strscpy(dev->name, "xaui%d", sizeof(dev->name)); + if (of_device_is_available(priv->of_node)) { + dev->netdev_ops = &cvm_oct_xaui_netdev_ops; -+ strscpy(dev->name, "eth%d", sizeof(dev->name)); ++ strscpy(dev->name, "xaui%d", sizeof(dev->name)); + } break;