diff options
Diffstat (limited to 'arch/blackfin/mach-bf561/boards/tepla.c')
-rw-r--r-- | arch/blackfin/mach-bf561/boards/tepla.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/arch/blackfin/mach-bf561/boards/tepla.c b/arch/blackfin/mach-bf561/boards/tepla.c index 6c33397355b3..d3017e53686b 100644 --- a/arch/blackfin/mach-bf561/boards/tepla.c +++ b/arch/blackfin/mach-bf561/boards/tepla.c | |||
@@ -140,3 +140,18 @@ static int __init tepla_init(void) | |||
140 | } | 140 | } |
141 | 141 | ||
142 | arch_initcall(tepla_init); | 142 | arch_initcall(tepla_init); |
143 | |||
144 | static struct platform_device *tepla_early_devices[] __initdata = { | ||
145 | #if defined(CONFIG_SERIAL_BFIN_CONSOLE) || defined(CONFIG_EARLY_PRINTK) | ||
146 | #ifdef CONFIG_SERIAL_BFIN_UART0 | ||
147 | &bfin_uart0_device, | ||
148 | #endif | ||
149 | #endif | ||
150 | }; | ||
151 | |||
152 | void __init native_machine_early_platform_add_devices(void) | ||
153 | { | ||
154 | printk(KERN_INFO "register early platform devices\n"); | ||
155 | early_platform_add_devices(tepla_early_devices, | ||
156 | ARRAY_SIZE(tepla_early_devices)); | ||
157 | } | ||