You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
673 B
32 lines
673 B
/*
|
|
* Copyright (c) Hisilicon Technologies Co., Ltd. 2020-2020. All rights reserved.
|
|
* Description:
|
|
* Author:huanglong
|
|
* Create: 2020-06-11
|
|
* Notes:
|
|
* History:
|
|
*/
|
|
|
|
#include <linux/module.h>
|
|
#include <linux/init.h>
|
|
|
|
#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);
|