]> Git Repo - qemu.git/blobdiff - hw/sparc/leon3.c
Change references to serial_hds[] to serial_hd()
[qemu.git] / hw / sparc / leon3.c
index bba3aa3dee6e32a2c25645dc9c76f6d44a8c27fd..98fa6adae09583c654092d6f8da41da26ac7c7a5 100644 (file)
@@ -206,8 +206,8 @@ static void leon3_generic_hw_init(MachineState *machine)
     grlib_gptimer_create(0x80000300, 2, CPU_CLK, cpu_irqs, 6);
 
     /* Allocate uart */
-    if (serial_hds[0]) {
-        grlib_apbuart_create(0x80000100, serial_hds[0], cpu_irqs[3]);
+    if (serial_hd(0)) {
+        grlib_apbuart_create(0x80000100, serial_hd(0), cpu_irqs[3]);
     }
 }
 
This page took 0.020321 seconds and 4 git commands to generate.