From 9c96d7bc080831df4af291ae6700d3500cee3bcb Mon Sep 17 00:00:00 2001 From: Matt Borgerson Date: Sun, 2 Sep 2018 13:48:02 -0700 Subject: [PATCH] sio: Use serial_hd(i) instead of serial_hds[i] --- hw/xbox/lpc47m157.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/xbox/lpc47m157.c b/hw/xbox/lpc47m157.c index 9459c90984..b857b0a30a 100644 --- a/hw/xbox/lpc47m157.c +++ b/hw/xbox/lpc47m157.c @@ -192,7 +192,7 @@ static void lpc47m157_realize(DeviceState *dev, Error **errp) /* init serial cores */ for (i = 0; i < 2; i++) { - Chardev *chr = serial_hds[i]; + Chardev *chr = serial_hd(i); if (chr == NULL) { char name[5]; snprintf(name, sizeof(name), "ser%d", i);