提交 d3ab7856 编写于 作者: S Sam Ravnborg

kbuild: remove hardcoded apic_es7000 from modpost

Replace the hardcoded variable name apic_es7000 in modpost
with a __initdata_refok marker.
Signed-off-by: NSam Ravnborg <sam@ravnborg.org>
上级 6fc53bae
......@@ -66,4 +66,4 @@ static int __init acpi_madt_oem_check(char *oem_id, char *oem_table_id)
}
#endif
struct genapic apic_es7000 = APIC_INIT("es7000", probe_es7000);
struct genapic __initdata_refok apic_es7000 = APIC_INIT("es7000", probe_es7000);
......@@ -647,7 +647,6 @@ static int secref_whitelist(const char *modname, const char *tosec,
"_probe",
"_probe_one",
"_console",
"apic_es7000",
NULL
};
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册