diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2010-10-20 18:12:19 +0200 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2010-10-20 18:12:19 +0200 |
commit | 33429a037a687d6a2786edfbf6d5093bfec0b987 (patch) | |
tree | 850481a2edd3e514956c728d1121f5b2256bd58b /media.c | |
parent | 68a9a12fcee22c41f576f1a489791786982cf27b (diff) |
Print subdev device node names in dot diagrams
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'media.c')
-rw-r--r-- | media.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -269,7 +269,10 @@ static void media_print_topology_dot(struct media_device *media) npads++; } - printf("} | %s | {", entity->info.name); + printf("} | %s", entity->info.name); + if (entity->devname) + printf("\\n%s", entity->devname); + printf(" | {"); for (j = 0, npads = 0; j < entity->info.pads; ++j) { if (entity->pads[j].type != MEDIA_PAD_TYPE_OUTPUT) |