summaryrefslogtreecommitdiff
path: root/include/dm/util.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/dm/util.h')
-rw-r--r--include/dm/util.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/include/dm/util.h b/include/dm/util.h
index e10c6060ce..4bb49e9e8c 100644
--- a/include/dm/util.h
+++ b/include/dm/util.h
@@ -26,8 +26,12 @@ struct list_head;
*/
int list_count_items(struct list_head *head);
-/* Dump out a tree of all devices */
-void dm_dump_tree(void);
+/**
+ * Dump out a tree of all devices
+ *
+ * @sort: Sort by uclass name
+ */
+void dm_dump_tree(bool sort);
/* Dump out a list of uclasses and their devices */
void dm_dump_uclass(void);