Commit ebacb59a authored by Alejandro Mery's avatar Alejandro Mery
Browse files

sunxi-tools.h: renamed list_next() to the correct list_first()

parent 8368bee1
...@@ -70,7 +70,7 @@ static inline struct list_entry *list_last(struct list_entry *l) ...@@ -70,7 +70,7 @@ static inline struct list_entry *list_last(struct list_entry *l)
} }
/** returns first element of a list */ /** returns first element of a list */
static inline struct list_entry *list_next(struct list_entry *l) static inline struct list_entry *list_first(struct list_entry *l)
{ {
return (l->next == l) ? NULL : l->next; return (l->next == l) ? NULL : l->next;
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment