sm8250-common: power: Rebase on LA.UM.8.12.r1-11900-sm8250.0
This commit is contained in:
parent
54b02a5e52
commit
e032e7cc78
24 changed files with 803 additions and 1053 deletions
18
power/list.h
18
power/list.h
|
|
@ -28,14 +28,14 @@
|
|||
*/
|
||||
|
||||
struct list_node {
|
||||
struct list_node* next;
|
||||
void* data;
|
||||
int (*compare)(void* data1, void* data2);
|
||||
void (*dump)(void* data);
|
||||
struct list_node *next;
|
||||
void *data;
|
||||
int (*compare)(void *data1, void *data2);
|
||||
void (*dump)(void *data);
|
||||
};
|
||||
|
||||
int init_list_head(struct list_node* head);
|
||||
struct list_node* add_list_node(struct list_node* head, void* data);
|
||||
int remove_list_node(struct list_node* head, struct list_node* del_node);
|
||||
void dump_list(struct list_node* head);
|
||||
struct list_node* find_node(struct list_node* head, void* comparison_data);
|
||||
int init_list_head(struct list_node *head);
|
||||
struct list_node * add_list_node(struct list_node *head, void *data);
|
||||
int remove_list_node(struct list_node *head, struct list_node *del_node);
|
||||
void dump_list(struct list_node *head);
|
||||
struct list_node *find_node(struct list_node *head, void *comparison_data);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue