aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/gemini/patches-3.10/135-arm-gemini-nas4220-register-usb.patch
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2014-12-02 18:27:54 +0000
committerJohn Crispin <blogic@openwrt.org>2014-12-02 18:27:54 +0000
commitb2618331dd7a7ab6f2d908a735f09031c7dd80c6 (patch)
tree7fe9a4d0cb8b8ef29c569ba610d9ba49b6a87ac9 /target/linux/gemini/patches-3.10/135-arm-gemini-nas4220-register-usb.patch
parenta9d0c46233870a315a2da730efca5433344e47f6 (diff)
downloadupstream-b2618331dd7a7ab6f2d908a735f09031c7dd80c6.tar.gz
upstream-b2618331dd7a7ab6f2d908a735f09031c7dd80c6.tar.bz2
upstream-b2618331dd7a7ab6f2d908a735f09031c7dd80c6.zip
gemini: update ethernet driver, register ethernet on nas4220 board
Signed-off-by: Roman Yeryomin <roman@advem.lv> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43501 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/gemini/patches-3.10/135-arm-gemini-nas4220-register-usb.patch')
-rw-r--r--target/linux/gemini/patches-3.10/135-arm-gemini-nas4220-register-usb.patch6
1 files changed, 3 insertions, 3 deletions
diff --git a/target/linux/gemini/patches-3.10/135-arm-gemini-nas4220-register-usb.patch b/target/linux/gemini/patches-3.10/135-arm-gemini-nas4220-register-usb.patch
index e08c889d4b..078c6c2f55 100644
--- a/target/linux/gemini/patches-3.10/135-arm-gemini-nas4220-register-usb.patch
+++ b/target/linux/gemini/patches-3.10/135-arm-gemini-nas4220-register-usb.patch
@@ -1,9 +1,9 @@
--- a/arch/arm/mach-gemini/board-nas4220b.c
+++ b/arch/arm/mach-gemini/board-nas4220b.c
-@@ -96,6 +96,8 @@ static void __init ib4220b_init(void)
- platform_device_register(&ib4220b_key_device);
- platform_register_rtc();
+@@ -146,6 +146,8 @@ static void __init ib4220b_init(void)
platform_register_watchdog();
+ platform_device_register(&ib4220b_phy_device);
+ platform_register_ethernet(&ib4220b_gmac_data);
+ platform_register_usb(0);
+ platform_register_usb(1);
}