Skip to content

Commit b635f19

Browse files
soniczvapier
authored andcommitted
Blackfin: allow boards to register early devices
Signed-off-by: Sonic Zhang <sonic.zhang@analog.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
1 parent df5de26 commit b635f19

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

‎arch/blackfin/kernel/setup.c‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -792,10 +792,17 @@ static inline int __init get_mem_size(void)
792792
BUG();
793793
}
794794

795+
__attribute__((weak))
796+
void __init native_machine_early_platform_add_devices(void)
797+
{
798+
}
799+
795800
void __init setup_arch(char **cmdline_p)
796801
{
797802
unsigned long sclk, cclk;
798803

804+
native_machine_early_platform_add_devices();
805+
799806
enable_shadow_console();
800807

801808
/* Check to make sure we are running on the right processor */

0 commit comments

Comments
 (0)