diff options
author | Sonic Zhang <sonic.zhang@analog.com> | 2009-09-23 10:06:25 +0200 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2010-03-09 06:30:45 +0100 |
commit | b635f1912da764c960c044ffd58ba27157aa2c85 (patch) | |
tree | c2abb6c09c7f517380379582307a7bc6a4b8cef2 | |
parent | Blackfin: move SPORT UART resources to boards files (diff) | |
download | linux-b635f1912da764c960c044ffd58ba27157aa2c85.tar.xz linux-b635f1912da764c960c044ffd58ba27157aa2c85.zip |
Blackfin: allow boards to register early devices
Signed-off-by: Sonic Zhang <sonic.zhang@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
-rw-r--r-- | arch/blackfin/kernel/setup.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/blackfin/kernel/setup.c b/arch/blackfin/kernel/setup.c index 95448ae9c43a..69cbc1a81201 100644 --- a/arch/blackfin/kernel/setup.c +++ b/arch/blackfin/kernel/setup.c @@ -792,10 +792,17 @@ static inline int __init get_mem_size(void) BUG(); } +__attribute__((weak)) +void __init native_machine_early_platform_add_devices(void) +{ +} + void __init setup_arch(char **cmdline_p) { unsigned long sclk, cclk; + native_machine_early_platform_add_devices(); + enable_shadow_console(); /* Check to make sure we are running on the right processor */ |