diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2008-12-15 16:11:42 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2008-12-15 16:11:42 +0000 |
commit | d49e66360ca32775082cd01203caadaf54f399a3 (patch) | |
tree | 37bb3bdae5a06a04ac8e9d8a4742d5c37f9e20c1 /target/linux/ar71xx/files-2.6.28/arch/mips/include/asm | |
parent | a5f66cd0e8b7eed1cece500530b7d142d70391b6 (diff) | |
download | master-31e0f0ae-d49e66360ca32775082cd01203caadaf54f399a3.tar.gz master-31e0f0ae-d49e66360ca32775082cd01203caadaf54f399a3.tar.bz2 master-31e0f0ae-d49e66360ca32775082cd01203caadaf54f399a3.zip |
move machine setup code
SVN-Revision: 13656
Diffstat (limited to 'target/linux/ar71xx/files-2.6.28/arch/mips/include/asm')
-rw-r--r-- | target/linux/ar71xx/files-2.6.28/arch/mips/include/asm/mach-ar71xx/platform.h | 8 |
1 files changed, 8 insertions, 0 deletions
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 750418a790..a82d621a48 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 */ |