aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2009-11-16 17:31:22 +0000
committerGabor Juhos <juhosg@openwrt.org>2009-11-16 17:31:22 +0000
commit4628dc51247258c7fa3c8eb0ef31b2b7312bb0b3 (patch)
tree1c54782662719b8b014de8462be4ea3609805b91 /target/linux/ar71xx
parent6d20bb64bd1e9460e14e908033a878878079b030 (diff)
downloadupstream-4628dc51247258c7fa3c8eb0ef31b2b7312bb0b3.tar.gz
upstream-4628dc51247258c7fa3c8eb0ef31b2b7312bb0b3.tar.bz2
upstream-4628dc51247258c7fa3c8eb0ef31b2b7312bb0b3.zip
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
Diffstat (limited to 'target/linux/ar71xx')
-rw-r--r--target/linux/ar71xx/files/arch/mips/ar71xx/devices.c4
1 files changed, 2 insertions, 2 deletions
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);