aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2009-02-27 10:09:20 +0000
committerGabor Juhos <juhosg@openwrt.org>2009-02-27 10:09:20 +0000
commitdf2c881e144dcbad193fcc44a05740d67b4d44ca (patch)
tree6b2af4dde830105450d6f5ab369b1a0cd5d36664
parente11452558bbd43f847dcbd6f460f17f07570d019 (diff)
downloadupstream-df2c881e144dcbad193fcc44a05740d67b4d44ca.tar.gz
upstream-df2c881e144dcbad193fcc44a05740d67b4d44ca.tar.bz2
upstream-df2c881e144dcbad193fcc44a05740d67b4d44ca.zip
move 'ar71xx_add_device_usb' definition into devices.h
SVN-Revision: 14680
-rw-r--r--target/linux/ar71xx/files/arch/mips/ar71xx/devices.h2
-rw-r--r--target/linux/ar71xx/files/arch/mips/include/asm/mach-ar71xx/ar71xx.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/ar71xx/files/arch/mips/ar71xx/devices.h b/target/linux/ar71xx/files/arch/mips/ar71xx/devices.h
index 4f6e2a6037..b0119753db 100644
--- a/target/linux/ar71xx/files/arch/mips/ar71xx/devices.h
+++ b/target/linux/ar71xx/files/arch/mips/ar71xx/devices.h
@@ -40,6 +40,8 @@ void ar71xx_add_device_gpio_buttons(int id,
unsigned nbuttons,
struct gpio_button *buttons) __init;
+void ar71xx_add_device_usb(void) __init;
+
#ifdef CONFIG_AR71XX_EARLY_SERIAL
static inline void ar71xx_add_device_uart(void) {}
#else
diff --git a/target/linux/ar71xx/files/arch/mips/include/asm/mach-ar71xx/ar71xx.h b/target/linux/ar71xx/files/arch/mips/include/asm/mach-ar71xx/ar71xx.h
index ae4e3891f7..f6acb11991 100644
--- a/target/linux/ar71xx/files/arch/mips/include/asm/mach-ar71xx/ar71xx.h
+++ b/target/linux/ar71xx/files/arch/mips/include/asm/mach-ar71xx/ar71xx.h
@@ -195,8 +195,6 @@ static inline u32 ar71xx_usb_ctrl_rr(unsigned reg)
return __raw_readl(ar71xx_usb_ctrl_base + reg);
}
-extern void ar71xx_add_device_usb(void) __init;
-
/*
* GPIO block
*/