Root/target/linux/ar71xx/patches-3.6/003-MIPS-ath79-register-USB-host-controller-on-the-DB120.patch

1From f60097efacfaebd2d4cf2c301fb865edc9806f47 Mon Sep 17 00:00:00 2001
2From: Gabor Juhos <juhosg@openwrt.org>
3Date: Sat, 4 Aug 2012 15:03:57 +0000
4Subject: [PATCH] MIPS: ath79: register USB host controller on the DB120 board
5
6commit a0aa4577ec579eb230557b85d721fd019ea69e02 upstream.
7
8Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
9Patchwork: http://patchwork.linux-mips.org/patch/4173/
10Signed-off-by: John Crispin <blogic@openwrt.org>
11---
12 arch/mips/ath79/mach-db120.c | 2 ++
13 1 file changed, 2 insertions(+)
14
15--- a/arch/mips/ath79/mach-db120.c
16+++ b/arch/mips/ath79/mach-db120.c
17@@ -25,6 +25,7 @@
18 #include "dev-gpio-buttons.h"
19 #include "dev-leds-gpio.h"
20 #include "dev-spi.h"
21+#include "dev-usb.h"
22 #include "dev-wmac.h"
23 #include "pci.h"
24 
25@@ -126,6 +127,7 @@ static void __init db120_setup(void)
26                     db120_gpio_keys);
27     ath79_register_spi(&db120_spi_data, db120_spi_info,
28                ARRAY_SIZE(db120_spi_info));
29+ ath79_register_usb();
30     ath79_register_wmac(art + DB120_WMAC_CALDATA_OFFSET);
31     db120_pci_init(art + DB120_PCIE_CALDATA_OFFSET);
32 }
33

Archive Download this file



interactive