]> Git Repo - qemu.git/blobdiff - hw/display/tcx.c
hw/pci-host/bonito: Map peripheral using physical address
[qemu.git] / hw / display / tcx.c
index 76de16e8ea025aa081a808e4086afe1976432477..1fb45b1aab857db27226a5071ccf6672a75d56eb 100644 (file)
@@ -868,9 +868,9 @@ static void tcx_realizefn(DeviceState *dev, Error **errp)
     sysbus_init_irq(sbd, &s->irq);
 
     if (s->depth == 8) {
-        s->con = graphic_console_init(DEVICE(dev), 0, &tcx_ops, s);
+        s->con = graphic_console_init(dev, 0, &tcx_ops, s);
     } else {
-        s->con = graphic_console_init(DEVICE(dev), 0, &tcx24_ops, s);
+        s->con = graphic_console_init(dev, 0, &tcx24_ops, s);
     }
     s->thcmisc = 0;
 
This page took 0.020859 seconds and 4 git commands to generate.