]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blob - include/linux/list_sort.h
ACPI: fix acpi_find_child_device() invocation in acpi_preset_companion()
[mirror_ubuntu-bionic-kernel.git] / include / linux / list_sort.h
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _LINUX_LIST_SORT_H
3 #define _LINUX_LIST_SORT_H
4
5 #include <linux/types.h>
6
7 struct list_head;
8
9 void list_sort(void *priv, struct list_head *head,
10 int (*cmp)(void *priv, struct list_head *a,
11 struct list_head *b));
12 #endif