summaryrefslogtreecommitdiff
path: root/arch/mips/ath79/dev-usb.h
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2011-06-05 21:38:46 (GMT)
committerRalf Baechle <ralf@linux-mips.org>2011-12-07 22:02:44 (GMT)
commit7e98aa4639cba9ef5c99b1484bc86ddb04f67b80 (patch)
tree9851f7472dbf493118df0be3040323c9f3afa275 /arch/mips/ath79/dev-usb.h
parentd2b4ac1e5d34648cc56785f6bd11bfa020ad4f02 (diff)
downloadlinux-7e98aa4639cba9ef5c99b1484bc86ddb04f67b80.tar.xz
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/dev-usb.h')
-rw-r--r--arch/mips/ath79/dev-usb.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/arch/mips/ath79/dev-usb.h b/arch/mips/ath79/dev-usb.h
new file mode 100644
index 0000000..4b86a69
--- /dev/null
+++ b/arch/mips/ath79/dev-usb.h
@@ -0,0 +1,17 @@
+/*
+ * Atheros AR71XX/AR724X/AR913X USB Host Controller support
+ *
+ * Copyright (C) 2008-2010 Gabor Juhos <juhosg@openwrt.org>
+ * Copyright (C) 2008 Imre Kaloz <kaloz@openwrt.org>
+ *
+ * This program is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License version 2 as published
+ * by the Free Software Foundation.
+ */
+
+#ifndef _ATH79_DEV_USB_H
+#define _ATH79_DEV_USB_H
+
+void ath79_register_usb(void);
+
+#endif /* _ATH79_DEV_USB_H */