ar71xx: register USB port for RB2011U* devices
authorGabor Juhos <juhosg@openwrt.org>
Thu, 30 May 2013 17:38:31 +0000 (17:38 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Thu, 30 May 2013 17:38:31 +0000 (17:38 +0000)
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 36801

target/linux/ar71xx/files/arch/mips/ath79/mach-rb2011.c

index 19661029e93110d7f1de28c4d6c18b7072419f3b..9b0145875bd52cbfe379912efb24f8addbcaf794 100644 (file)
@@ -32,6 +32,7 @@
 #include "dev-eth.h"
 #include "dev-m25p80.h"
 #include "dev-nfc.h"
+#include "dev-usb.h"
 #include "dev-wmac.h"
 #include "machtypes.h"
 #include "routerboot.h"
@@ -305,6 +306,8 @@ static void __init rb2011us_setup(void)
 {
        rb2011_setup();
        rb2011_sfp_init();
+
+       ath79_register_usb();
 }
 
 MIPS_MACHINE(ATH79_MACH_RB_2011US, "2011US", "MikroTik RouterBOARD 2011UAS",
@@ -315,6 +318,8 @@ static void __init rb2011g_setup(void)
        rb2011_setup();
        rb2011_sfp_init();
        rb2011_wlan_init();
+
+       ath79_register_usb();
 }
 
 MIPS_MACHINE(ATH79_MACH_RB_2011G, "2011G", "MikroTik RouterBOARD 2011UAS-2HnD",