video: Mark the vidconsole as a driver model stdio device

Set the DEV_FLAGS_DM flag so this stdio device is recognised as being
provided by a driver model device.

Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
Simon Glass
2025-08-22 04:53:38 -06:00
parent 82732edd5a
commit e9a72c6b7c

View File

@@ -764,7 +764,7 @@ static int vidconsole_post_probe(struct udevice *dev)
strcpy(sdev->name, "vidconsole");
}
sdev->flags = DEV_FLAGS_OUTPUT;
sdev->flags = DEV_FLAGS_OUTPUT | DEV_FLAGS_DM;
sdev->putc = vidconsole_putc;
sdev->puts = vidconsole_puts;
sdev->priv = dev;