mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-04 05:57:28 +03:00
[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
This commit is contained in:
parent
97a2ae2a58
commit
ea9cc9f9c7
@ -40,6 +40,8 @@ void ar71xx_add_device_gpio_buttons(int id,
|
|||||||
unsigned nbuttons,
|
unsigned nbuttons,
|
||||||
struct gpio_button *buttons) __init;
|
struct gpio_button *buttons) __init;
|
||||||
|
|
||||||
|
void ar71xx_add_device_usb(void) __init;
|
||||||
|
|
||||||
#ifdef CONFIG_AR71XX_EARLY_SERIAL
|
#ifdef CONFIG_AR71XX_EARLY_SERIAL
|
||||||
static inline void ar71xx_add_device_uart(void) {}
|
static inline void ar71xx_add_device_uart(void) {}
|
||||||
#else
|
#else
|
||||||
|
@ -195,8 +195,6 @@ static inline u32 ar71xx_usb_ctrl_rr(unsigned reg)
|
|||||||
return __raw_readl(ar71xx_usb_ctrl_base + reg);
|
return __raw_readl(ar71xx_usb_ctrl_base + reg);
|
||||||
}
|
}
|
||||||
|
|
||||||
extern void ar71xx_add_device_usb(void) __init;
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* GPIO block
|
* GPIO block
|
||||||
*/
|
*/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user