Use KOBJMETHOD_END in the kernel linker.
MFC after: 1 week
This commit is contained in:
parent
84cd531f96
commit
b0130de08d
@ -175,7 +175,7 @@ static kobj_method_t link_elf_methods[] = {
|
||||
KOBJMETHOD(linker_ctf_get, link_elf_ctf_get),
|
||||
KOBJMETHOD(linker_symtab_get, link_elf_symtab_get),
|
||||
KOBJMETHOD(linker_strtab_get, link_elf_strtab_get),
|
||||
{ 0, 0 }
|
||||
KOBJMETHOD_END
|
||||
};
|
||||
|
||||
static struct linker_class link_elf_class = {
|
||||
|
@ -163,7 +163,7 @@ static kobj_method_t link_elf_methods[] = {
|
||||
KOBJMETHOD(linker_ctf_get, link_elf_ctf_get),
|
||||
KOBJMETHOD(linker_symtab_get, link_elf_symtab_get),
|
||||
KOBJMETHOD(linker_strtab_get, link_elf_strtab_get),
|
||||
{ 0, 0 }
|
||||
KOBJMETHOD_END
|
||||
};
|
||||
|
||||
static struct linker_class link_elf_class = {
|
||||
|
Loading…
x
Reference in New Issue
Block a user