aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/gemini/patches-3.10/135-arm-gemini-nas4220-register-usb.patch
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2014-12-02 18:27:54 +0000
committerJohn Crispin <john@openwrt.org>2014-12-02 18:27:54 +0000
commit8a9979e57a5754e2d4f1fcde1ac162634bcc0417 (patch)
tree6dd3d2a8737da2e1ff250ca87ab61a25ddf146d1 /target/linux/gemini/patches-3.10/135-arm-gemini-nas4220-register-usb.patch
parentda988d582f30879381debf9e9ddf1f8cd646c3a3 (diff)
downloadupstream-8a9979e57a5754e2d4f1fcde1ac162634bcc0417.tar.gz
upstream-8a9979e57a5754e2d4f1fcde1ac162634bcc0417.tar.bz2
upstream-8a9979e57a5754e2d4f1fcde1ac162634bcc0417.zip
gemini: update ethernet driver, register ethernet on nas4220 board
Signed-off-by: Roman Yeryomin <roman@advem.lv> SVN-Revision: 43501
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);
}