aboutsummaryrefslogtreecommitdiff
path: root/arch/mips/ath79/mach-ap81.c
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2011-06-05 23:38:46 +0200
committerRalf Baechle <ralf@linux-mips.org>2011-12-07 22:02:44 +0000
commit7e98aa4639cba9ef5c99b1484bc86ddb04f67b80 (patch)
tree9851f7472dbf493118df0be3040323c9f3afa275 /arch/mips/ath79/mach-ap81.c
parentd2b4ac1e5d34648cc56785f6bd11bfa020ad4f02 (diff)
MIPS: ath79: add common USB Host Controller device
Add common platform_device and helper code to make the registration of the built-in USB controllers easier on the board which are using them. Also register the USB controller on the AP81 and PB44 boards. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> Signed-off-by: Imre Kaloz <kaloz@openwrt.org> Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/2442/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/ath79/mach-ap81.c')
-rw-r--r--arch/mips/ath79/mach-ap81.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/mips/ath79/mach-ap81.c b/arch/mips/ath79/mach-ap81.c
index eee4c121deb..6c082673601 100644
--- a/arch/mips/ath79/mach-ap81.c
+++ b/arch/mips/ath79/mach-ap81.c
@@ -14,6 +14,7 @@
#include "dev-gpio-buttons.h"
#include "dev-leds-gpio.h"
#include "dev-spi.h"
+#include "dev-usb.h"
#define AP81_GPIO_LED_STATUS 1
#define AP81_GPIO_LED_AOSS 3
@@ -92,6 +93,7 @@ static void __init ap81_setup(void)
ath79_register_spi(&ap81_spi_data, ap81_spi_info,
ARRAY_SIZE(ap81_spi_info));
ath79_register_ar913x_wmac(cal_data);
+ ath79_register_usb();
}
MIPS_MACHINE(ATH79_MACH_AP81, "AP81", "Atheros AP81 reference board",