mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-12-25 03:13:20 +02:00
ar71xx: use __init for ar{71,91}xx_usb_setup
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18434 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
ce940c98d6
commit
d71bee30b8
@ -90,7 +90,7 @@ static struct platform_device ar71xx_ehci_device = {
|
||||
(RESET_MODULE_USB_HOST | RESET_MODULE_USB_PHY \
|
||||
| RESET_MODULE_USB_OHCI_DLL)
|
||||
|
||||
static void ar71xx_usb_setup(void)
|
||||
static void __init ar71xx_usb_setup(void)
|
||||
{
|
||||
ar71xx_device_stop(AR71XX_USB_RESET_MASK);
|
||||
mdelay(1000);
|
||||
@ -105,7 +105,7 @@ static void ar71xx_usb_setup(void)
|
||||
mdelay(900);
|
||||
}
|
||||
|
||||
static void ar91xx_usb_setup(void)
|
||||
static void __init ar91xx_usb_setup(void)
|
||||
{
|
||||
ar71xx_device_stop(RESET_MODULE_USBSUS_OVERRIDE);
|
||||
mdelay(10);
|
||||
|
Loading…
Reference in New Issue
Block a user