summaryrefslogtreecommitdiff
path: root/target/linux/ar71xx
diff options
context:
space:
mode:
authorJoão Chaínho <joaochainho@gmail.com>2017-01-13 16:23:09 +0000
committerJohn Crispin <john@phrozen.org>2017-01-15 17:43:14 +0100
commitace9d1fb6fc43278a342b433bd4ce8329b4b233d (patch)
treeb46d19553393fd06445438c622355986889fb77b /target/linux/ar71xx
parent80768ddccd6275d1506badcf57ae31560ca19da2 (diff)
downloadmtk-20170518-ace9d1fb6fc43278a342b433bd4ce8329b4b233d.zip
mtk-20170518-ace9d1fb6fc43278a342b433bd4ce8329b4b233d.tar.gz
mtk-20170518-ace9d1fb6fc43278a342b433bd4ce8329b4b233d.tar.bz2
ar71xx: Detect USB port on Mikrotik RB750UP
The USB port on Mikrotik RB750UP isn’t detected. This patch provides a fix. Tested and working. Signed-off-by: João Chaínho <joaochainho@gmail.com>
Diffstat (limited to 'target/linux/ar71xx')
-rw-r--r--target/linux/ar71xx/files/arch/mips/ath79/mach-rb750.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/target/linux/ar71xx/files/arch/mips/ath79/mach-rb750.c b/target/linux/ar71xx/files/arch/mips/ath79/mach-rb750.c
index 5656d3c..c308f95 100644
--- a/target/linux/ar71xx/files/arch/mips/ath79/mach-rb750.c
+++ b/target/linux/ar71xx/files/arch/mips/ath79/mach-rb750.c
@@ -169,6 +169,9 @@ static void __init rb750_setup(void)
rb750_nand_data.disable_pins = rb750_nand_disable_pins;
rb750_nand_data.latch_change = rb750_latch_change;
platform_device_register(&rb750_nand_device);
+
+ /* USB */
+ ath79_register_usb();
}
MIPS_MACHINE(ATH79_MACH_RB_750, "750i", "MikroTik RouterBOARD 750",