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>
This commit is contained in:

committed by
Ralf Baechle

parent
d2b4ac1e5d
commit
7e98aa4639
17
arch/mips/ath79/dev-usb.h
Normal file
17
arch/mips/ath79/dev-usb.h
Normal file
@@ -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 */
|
Reference in New Issue
Block a user