From: Gabor Juhos Date: Mon, 16 Nov 2009 17:31:22 +0000 (+0000) Subject: ar71xx: use __init for ar{71,91}xx_usb_setup X-Git-Tag: reboot~21873 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=2f5d0b63d4c3ba0cab1228d2dcf407dfbe06a9e5;p=openwrt%2Fstaging%2Flynxis.git ar71xx: use __init for ar{71,91}xx_usb_setup SVN-Revision: 18434 --- diff --git a/target/linux/ar71xx/files/arch/mips/ar71xx/devices.c b/target/linux/ar71xx/files/arch/mips/ar71xx/devices.c index d55022f88a..65b7419aca 100644 --- a/target/linux/ar71xx/files/arch/mips/ar71xx/devices.c +++ b/target/linux/ar71xx/files/arch/mips/ar71xx/devices.c @@ -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);