xref: /openbmc/u-boot/include/linux/list_sort.h (revision b0e6ef46)
1 #ifndef _LINUX_LIST_SORT_H
2 #define _LINUX_LIST_SORT_H
3 
4 #include <linux/types.h>
5 
6 struct list_head;
7 
8 void list_sort(void *priv, struct list_head *head,
9 	       int (*cmp)(void *priv, struct list_head *a,
10 			  struct list_head *b));
11 #endif
12