From ea9cc9f9c7ab4c74dbdc556f01b6a6eb47e1bc25 Mon Sep 17 00:00:00 2001 From: juhosg Date: Fri, 27 Feb 2009 10:09:20 +0000 Subject: [ar71xx] move 'ar71xx_add_device_usb' definition into devices.h git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14680 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/ar71xx/files/arch/mips/ar71xx/devices.h | 2 ++ target/linux/ar71xx/files/arch/mips/include/asm/mach-ar71xx/ar71xx.h | 2 -- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'target/linux/ar71xx/files/arch/mips') diff --git a/target/linux/ar71xx/files/arch/mips/ar71xx/devices.h b/target/linux/ar71xx/files/arch/mips/ar71xx/devices.h index 4f6e2a603..b0119753d 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 ae4e3891f..f6acb1199 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 */ -- cgit v1.2.3