mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-09-28 23:50:26 +09:00
Fix incorrect comments in linker_lists.h
This corrects several typos in the comment block as well as some indentions and nits in the linker_lists.h. Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
This commit is contained in:
parent
9f244b27cf
commit
7e378b8bfc
@ -103,7 +103,7 @@
|
||||
*/
|
||||
|
||||
/**
|
||||
* ll_sym() - Access a linker-generated array entry
|
||||
* llsym() - Access a linker-generated array entry
|
||||
* @_type: Data type of the entry
|
||||
* @_name: Name of the entry
|
||||
* @_list: name of the list. Should contain only characters allowed
|
||||
@ -142,7 +142,7 @@
|
||||
* the inner sections are present in the array.
|
||||
*
|
||||
* Example:
|
||||
* ll_entry_declare(struct my_sub_cmd, my_sub_cmd, cmd_sub, cmd.sub) = {
|
||||
* ll_entry_declare(struct my_sub_cmd, my_sub_cmd, cmd_sub) = {
|
||||
* .x = 3,
|
||||
* .y = 4,
|
||||
* };
|
||||
@ -162,7 +162,7 @@
|
||||
* This is like ll_entry_declare() but creates multiple entries. It should
|
||||
* be assigned to an array.
|
||||
*
|
||||
* ll_entry_declare_list(struct my_sub_cmd, my_sub_cmd, cmd_sub, cmd.sub) = {
|
||||
* ll_entry_declare_list(struct my_sub_cmd, my_sub_cmd, cmd_sub) = {
|
||||
* { .x = 3, .y = 4 },
|
||||
* { .x = 8, .y = 2 },
|
||||
* { .x = 1, .y = 7 }
|
||||
@ -256,8 +256,8 @@
|
||||
* @_name: Name of the entry
|
||||
* @_list: Name of the list in which this entry is placed
|
||||
*
|
||||
* This function returns a pointer to a particular entry in LG-array
|
||||
* identified by the subsection of u_boot_list where the entry resides
|
||||
* This function returns a pointer to a particular entry in linker-generated
|
||||
* array identified by the subsection of u_boot_list where the entry resides
|
||||
* and it's name.
|
||||
*
|
||||
* Example:
|
||||
@ -297,7 +297,7 @@
|
||||
})
|
||||
|
||||
/**
|
||||
* ll_entry_end() - Point after last entry of last linker-generated array
|
||||
* ll_end() - Point after last entry of last linker-generated array
|
||||
* @_type: Data type of the entry
|
||||
*
|
||||
* This function returns (_type *) pointer after the very last entry of
|
||||
|
Loading…
Reference in New Issue
Block a user