From e749730b78ed9e5267f91bd2ce1786c4233870ef Mon Sep 17 00:00:00 2001 From: juhosg Date: Mon, 15 Dec 2008 16:11:42 +0000 Subject: [ar71xx] move machine setup code git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13656 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- .../files-2.6.28/arch/mips/include/asm/mach-ar71xx/platform.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'target/linux/ar71xx/files-2.6.28/arch') diff --git a/target/linux/ar71xx/files-2.6.28/arch/mips/include/asm/mach-ar71xx/platform.h b/target/linux/ar71xx/files-2.6.28/arch/mips/include/asm/mach-ar71xx/platform.h index 750418a79..a82d621a4 100644 --- a/target/linux/ar71xx/files-2.6.28/arch/mips/include/asm/mach-ar71xx/platform.h +++ b/target/linux/ar71xx/files-2.6.28/arch/mips/include/asm/mach-ar71xx/platform.h @@ -74,4 +74,12 @@ extern void ar71xx_add_device_gpio_buttons(int id, unsigned nbuttons, struct gpio_button *buttons) __init; +#ifdef CONFIG_AR71XX_EARLY_SERIAL +static inline void ar71xx_add_device_uart(void) {} +#else +extern void ar71xx_add_device_uart(void) __init; +#endif + +extern void ar71xx_add_device_wdt(void) __init; + #endif /* __ASM_MACH_AR71XX_PLATFORM_H */ -- cgit v1.2.3