summaryrefslogtreecommitdiff
path: root/target/linux/ramips/patches-3.9/0156-NET-add-of_get_mac_address_mtd.patch
diff options
context:
space:
mode:
authorJonas Gorski <jogo@openwrt.org>2013-06-30 13:10:12 +0000
committerJonas Gorski <jogo@openwrt.org>2013-06-30 13:10:12 +0000
commit0d9f760f272f3ccb3abcaca8e678734b666e234c (patch)
tree14237dc1b483b6fefbf696164b80f594e9826e49 /target/linux/ramips/patches-3.9/0156-NET-add-of_get_mac_address_mtd.patch
parent6a4e78dca6ecd4325504f0a74cd1816275157eea (diff)
downloadmtk-20170518-0d9f760f272f3ccb3abcaca8e678734b666e234c.zip
mtk-20170518-0d9f760f272f3ccb3abcaca8e678734b666e234c.tar.gz
mtk-20170518-0d9f760f272f3ccb3abcaca8e678734b666e234c.tar.bz2
kernel: update linux 3.9 to 3.9.8
Includes memory allocation fixes as well as several networking fixes. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 37103
Diffstat (limited to 'target/linux/ramips/patches-3.9/0156-NET-add-of_get_mac_address_mtd.patch')
-rw-r--r--target/linux/ramips/patches-3.9/0156-NET-add-of_get_mac_address_mtd.patch9
1 files changed, 1 insertions, 8 deletions
diff --git a/target/linux/ramips/patches-3.9/0156-NET-add-of_get_mac_address_mtd.patch b/target/linux/ramips/patches-3.9/0156-NET-add-of_get_mac_address_mtd.patch
index b790e6b..ba33c57 100644
--- a/target/linux/ramips/patches-3.9/0156-NET-add-of_get_mac_address_mtd.patch
+++ b/target/linux/ramips/patches-3.9/0156-NET-add-of_get_mac_address_mtd.patch
@@ -14,8 +14,6 @@ Signed-off-by: John Crispin <blogic@openwrt.org>
include/linux/of_net.h | 1 +
2 files changed, 38 insertions(+)
-diff --git a/drivers/of/of_net.c b/drivers/of/of_net.c
-index ffab033..15f4a71 100644
--- a/drivers/of/of_net.c
+++ b/drivers/of/of_net.c
@@ -10,6 +10,7 @@
@@ -26,7 +24,7 @@ index ffab033..15f4a71 100644
/**
* It maps 'enum phy_interface_t' found in include/linux/phy.h
-@@ -92,3 +93,39 @@ const void *of_get_mac_address(struct device_node *np)
+@@ -92,3 +93,39 @@ const void *of_get_mac_address(struct de
return NULL;
}
EXPORT_SYMBOL(of_get_mac_address);
@@ -66,8 +64,6 @@ index ffab033..15f4a71 100644
+ return ret;
+}
+EXPORT_SYMBOL_GPL(of_get_mac_address_mtd);
-diff --git a/include/linux/of_net.h b/include/linux/of_net.h
-index f474641..9d3304f 100644
--- a/include/linux/of_net.h
+++ b/include/linux/of_net.h
@@ -11,6 +11,7 @@
@@ -78,6 +74,3 @@ index f474641..9d3304f 100644
#endif
#endif /* __LINUX_OF_NET_H */
---
-1.7.10.4
-