generic: 5.15: rework pending patch
[openwrt/openwrt.git] / target / linux / generic / pending-5.15 / 682-of_net-add-mac-address-increment-support.patch
index 82e81f37c538b9811853bde4a469c3ec9ede0654..2753c76d54a7bf6eea5c94831d53ef7818bd24c9 100644 (file)
@@ -15,11 +15,11 @@ early has to be increased.
 
 Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
 ---
drivers/of/of_net.c | 43 +++++++++++++++++++++++++++++++++++++++----
net/core/of_net.c | 43 +++++++++++++++++++++++++++++++++++++++----
  1 file changed, 39 insertions(+), 4 deletions(-)
 
---- a/drivers/of/of_net.c
-+++ b/drivers/of/of_net.c
+--- a/net/core/of_net.c
++++ b/net/core/of_net.c
 @@ -115,27 +115,62 @@ static int of_get_mac_addr_nvmem(struct
   * this case, the real MAC is in 'local-mac-address', and 'mac-address' exists
   * but is all zeros.