fix section mismatch warnings

This commit is contained in:
Stricted
2018-03-22 16:29:10 +01:00
parent e4c65dc707
commit 8ca3027ec7
7 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -2381,7 +2381,7 @@ void __weak eemcs_memory_reserve(void)
printk(KERN_ERR"calling weak function %s\n", __FUNCTION__);
}
void mt_reserve(void)
void __init mt_reserve(void)
{
// aee_dram_console_reserve_memory();
mrdump_reserve_memory();
+2 -2
View File
@@ -635,8 +635,8 @@ static long notrace mt_read_sched_clock(void)
return mt_gpt_read(NULL);
}
static void mt_gpt_init(void);
struct mt_clock mt6582_gpt =
static void __init mt_gpt_init(void);
struct mt_clock __refdata mt6582_gpt =
{
.clockevent =
{
+1 -1
View File
@@ -166,7 +166,7 @@ int parse_eemcs_dfo_setting(void *dfo_data, int num)
#endif
void eemcs_memory_reserve(void){
void __init eemcs_memory_reserve(void){
unsigned int md5_en;
if( (ext_md_usage_case&MD5_EN)== MD5_EN) { //Only MD1 enabled