diff options
author | Daniel Golle <daniel@makrotopia.org> | 2021-08-05 23:40:21 +0100 |
---|---|---|
committer | Daniel Golle <daniel@makrotopia.org> | 2021-08-05 23:53:07 +0100 |
commit | a0b827b916ed51317eddf41cdca35ab73ec4cbdb (patch) | |
tree | c73e0bacacfaf2ff520882b621b175d427a0ced5 /target/linux/generic/pending-5.10/681-NET-add-mtd-mac-address-support-to-of_get_mac_addres.patch | |
parent | 986685f4f09936bad22e6406d217c927d584bc13 (diff) | |
download | upstream-a0b827b916ed51317eddf41cdca35ab73ec4cbdb.tar.gz upstream-a0b827b916ed51317eddf41cdca35ab73ec4cbdb.tar.bz2 upstream-a0b827b916ed51317eddf41cdca35ab73ec4cbdb.zip |
kirkwood: import patch to fix build and refresh patches
kirkwood build broke due to missing include needed for ETH_ALEN.
Add patch (sent upstream as well) to address that.
Refresh patches for 5.4 and 5.10.
Fixes: 91a52f22a1 ("treewide: backport support for nvmem on non platform devices")
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Diffstat (limited to 'target/linux/generic/pending-5.10/681-NET-add-mtd-mac-address-support-to-of_get_mac_addres.patch')
-rw-r--r-- | target/linux/generic/pending-5.10/681-NET-add-mtd-mac-address-support-to-of_get_mac_addres.patch | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/generic/pending-5.10/681-NET-add-mtd-mac-address-support-to-of_get_mac_addres.patch b/target/linux/generic/pending-5.10/681-NET-add-mtd-mac-address-support-to-of_get_mac_addres.patch index 463fc270c6..30e292a25d 100644 --- a/target/linux/generic/pending-5.10/681-NET-add-mtd-mac-address-support-to-of_get_mac_addres.patch +++ b/target/linux/generic/pending-5.10/681-NET-add-mtd-mac-address-support-to-of_get_mac_addres.patch @@ -78,7 +78,7 @@ Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com> /** * Search the device tree for the best MAC address to use. 'mac-address' is * checked first, because that is supposed to contain to "most recent" MAC -@@ -115,6 +161,10 @@ static int of_get_mac_addr_nvmem(struct +@@ -115,6 +162,10 @@ 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. * @@ -89,7 +89,7 @@ Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com> * Return: 0 on success and errno in case of error. */ int of_get_mac_address(struct device_node *np, u8 *addr) -@@ -136,6 +186,10 @@ int of_get_mac_address(struct device_nod +@@ -136,6 +187,10 @@ int of_get_mac_address(struct device_nod if (!ret) return 0; |