kernel: bump 5.4 to 5.4.133
[openwrt/staging/thess.git] / target / linux / generic / hack-5.4 / 683-NET-add-mac-address-property.patch
index de561c5336c3f7678ee33fad00dc36a57ad62faf..f0418dbb703afb42246e6ea040936ad8d20932d7 100644 (file)
@@ -18,7 +18,7 @@ Signed-off-by: David Bauer <mail@david-bauer.net>
 
 --- a/drivers/of/of_net.c
 +++ b/drivers/of/of_net.c
-@@ -61,6 +61,7 @@ static void *of_get_mac_addr_nvmem(struc
+@@ -55,6 +55,7 @@ static void *of_get_mac_addr_nvmem(struc
        void *mac;
        u8 nvmem_mac[ETH_ALEN];
        struct platform_device *pdev = of_find_device_by_node(np);
@@ -26,7 +26,7 @@ Signed-off-by: David Bauer <mail@david-bauer.net>
  
        if (!pdev) {
                *err = -ENODEV;
-@@ -78,10 +79,29 @@ static void *of_get_mac_addr_nvmem(struc
+@@ -72,10 +73,29 @@ static void *of_get_mac_addr_nvmem(struc
        put_device(&pdev->dev);
        if (!mac) {
                *err = -ENOMEM;