/* * Copyright (c) Hisilicon Technologies Co., Ltd. 2020-2020. All rights reserved. * Description: * Author:huanglong * Create: 2020-06-11 * Notes: * History: */ #include #include #include "td_type.h" #include "drv_base_ext.h" static td_void drv_base_module_init(td_void) { soc_initcall_t *soc_call = NULL; for (soc_call = __start_soc_init; soc_call < __stop_soc_init; soc_call++) { if ((*soc_call)()) { printk("%s: soc_initcall 0x%llx fail\n", __FUNCTION__, soc_call); } } } td_s32 ext_load_modules(td_void) { drv_base_module_init(); return TD_SUCCESS; } late_initcall(ext_load_modules);