summaryrefslogtreecommitdiff
path: root/target/linux/ar71xx/patches-3.6/003-MIPS-ath79-register-USB-host-controller-on-the-DB120.patch
blob: 13ffdd526a7eff9c27cadecad9d520a0ea6226f1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
From f60097efacfaebd2d4cf2c301fb865edc9806f47 Mon Sep 17 00:00:00 2001
From: Gabor Juhos <juhosg@openwrt.org>
Date: Sat, 4 Aug 2012 15:03:57 +0000
Subject: [PATCH] MIPS: ath79: register USB host controller on the DB120 board

commit a0aa4577ec579eb230557b85d721fd019ea69e02 upstream.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
Patchwork: http://patchwork.linux-mips.org/patch/4173/
Signed-off-by: John Crispin <blogic@openwrt.org>
---
 arch/mips/ath79/mach-db120.c |    2 ++
 1 file changed, 2 insertions(+)

--- a/arch/mips/ath79/mach-db120.c
+++ b/arch/mips/ath79/mach-db120.c
@@ -25,6 +25,7 @@
 #include "dev-gpio-buttons.h"
 #include "dev-leds-gpio.h"
 #include "dev-spi.h"
+#include "dev-usb.h"
 #include "dev-wmac.h"
 #include "pci.h"
 
@@ -126,6 +127,7 @@ static void __init db120_setup(void)
 					db120_gpio_keys);
 	ath79_register_spi(&db120_spi_data, db120_spi_info,
 			   ARRAY_SIZE(db120_spi_info));
+	ath79_register_usb();
 	ath79_register_wmac(art + DB120_WMAC_CALDATA_OFFSET);
 	db120_pci_init(art + DB120_PCIE_CALDATA_OFFSET);
 }