summaryrefslogtreecommitdiff
path: root/include/dm/root.h
diff options
context:
space:
mode:
authorSimon Glass <[email protected]>2022-05-08 04:39:26 -0600
committerSimon Glass <[email protected]>2022-06-28 03:09:52 +0100
commit2cb4ddb91ec9fcb77c895e4a1192a15aece700c6 (patch)
treefa5b70616fb54ee575514943c453f544ed033ab3 /include/dm/root.h
parent0dfda34ca594c701955cfcb71711a7599f97bae3 (diff)
dm: core: Add a command to show driver model statistics
This command shows the memory used by driver model along with various hints as to what it might be if some 'core' tags were moved to use the tag list instead of a core (i.e. always-there) pointer. This may help with future work to reduce memory usage. Signed-off-by: Simon Glass <[email protected]>
Diffstat (limited to 'include/dm/root.h')
-rw-r--r--include/dm/root.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/dm/root.h b/include/dm/root.h
index 382f83c7f5b..b2f30a842f5 100644
--- a/include/dm/root.h
+++ b/include/dm/root.h
@@ -182,7 +182,7 @@ void dm_get_stats(int *device_countp, int *uclass_countp);
/**
* dm_get_mem() - Get stats on memory usage in driver model
*
- * @mem: Place to put the information
+ * @stats: Place to put the information
*/
void dm_get_mem(struct dm_stats *stats);