aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/files/include
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2008-12-15 16:11:42 +0000
committerGabor Juhos <juhosg@openwrt.org>2008-12-15 16:11:42 +0000
commitda4fdfab1d99aaf511e72340ffd6b1a0499f4f87 (patch)
tree4b10c3f7fb2fad759c922f5c33277f6b18647d18 /target/linux/ar71xx/files/include
parente3e087eb3d44f031448d0612f051fde52dd6dc6b (diff)
downloadupstream-da4fdfab1d99aaf511e72340ffd6b1a0499f4f87.tar.gz
upstream-da4fdfab1d99aaf511e72340ffd6b1a0499f4f87.tar.bz2
upstream-da4fdfab1d99aaf511e72340ffd6b1a0499f4f87.zip
[ar71xx] move machine setup code
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13656 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar71xx/files/include')
-rw-r--r--target/linux/ar71xx/files/include/asm-mips/mach-ar71xx/platform.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/target/linux/ar71xx/files/include/asm-mips/mach-ar71xx/platform.h b/target/linux/ar71xx/files/include/asm-mips/mach-ar71xx/platform.h
index 750418a790..a82d621a48 100644
--- a/target/linux/ar71xx/files/include/asm-mips/mach-ar71xx/platform.h
+++ b/target/linux/ar71xx/files/include/asm-mips/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 */