aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic/pending-5.10/683-of_net-add-mac-address-to-of-tree.patch
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/generic/pending-5.10/683-of_net-add-mac-address-to-of-tree.patch')
-rw-r--r--target/linux/generic/pending-5.10/683-of_net-add-mac-address-to-of-tree.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/generic/pending-5.10/683-of_net-add-mac-address-to-of-tree.patch b/target/linux/generic/pending-5.10/683-of_net-add-mac-address-to-of-tree.patch
index 5d1f05af7f..eac7933884 100644
--- a/target/linux/generic/pending-5.10/683-of_net-add-mac-address-to-of-tree.patch
+++ b/target/linux/generic/pending-5.10/683-of_net-add-mac-address-to-of-tree.patch
@@ -1,6 +1,6 @@
--- a/drivers/of/of_net.c
+++ b/drivers/of/of_net.c
-@@ -133,6 +133,33 @@ static void *of_get_mac_address_mtd(stru
+@@ -132,6 +132,33 @@ static void *of_get_mac_address_mtd(stru
return NULL;
}
@@ -34,7 +34,7 @@
/**
* Search the device tree for the best MAC address to use. 'mac-address' is
-@@ -206,6 +233,7 @@ found:
+@@ -205,6 +232,7 @@ found:
if (!of_property_read_u32(np, "mac-address-increment", &mac_inc))
addr[inc_idx] += mac_inc;