move 'ar71xx_add_device_usb' definition into devices.h
authorGabor Juhos <juhosg@openwrt.org>
Fri, 27 Feb 2009 10:09:20 +0000 (10:09 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Fri, 27 Feb 2009 10:09:20 +0000 (10:09 +0000)
SVN-Revision: 14680

target/linux/ar71xx/files/arch/mips/ar71xx/devices.h
target/linux/ar71xx/files/arch/mips/include/asm/mach-ar71xx/ar71xx.h

index 4f6e2a603754d06ea5fe07d4996703cff43f85aa..b0119753db98940dcc45bbd961f48321797cf75f 100644 (file)
@@ -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
index ae4e3891f76b8c77c290444a7eb7ec6db254e7c0..f6acb11991b800784408ebb7e58178d7615d289a 100644 (file)
@@ -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
  */