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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user