Add the designated Error-reporting argument, even if currently unused.

Signed-off-by: Andreas Färber <afaer...@suse.de>
---
 hw/qdev.c |    6 +++---
 1 Datei geändert, 3 Zeilen hinzugefügt(+), 3 Zeilen entfernt(-)

diff --git a/hw/qdev.c b/hw/qdev.c
index c2d9b48..e7c9493 100644
--- a/hw/qdev.c
+++ b/hw/qdev.c
@@ -397,7 +397,7 @@ DeviceState *qdev_find_recursive(BusState *bus, const char 
*id)
     return NULL;
 }
 
-static void qbus_realize(BusState *bus)
+static void qbus_realize(BusState *bus, Error **err)
 {
     const char *typename = object_get_typename(OBJECT(bus));
     char *buf;
@@ -440,7 +440,7 @@ void qbus_create_inplace(BusState *bus, const char 
*typename,
 
     bus->parent = parent;
     bus->name = name ? g_strdup(name) : NULL;
-    qbus_realize(bus);
+    qbus_realize(bus, NULL);
 }
 
 BusState *qbus_create(const char *typename, DeviceState *parent, const char 
*name)
@@ -452,7 +452,7 @@ BusState *qbus_create(const char *typename, DeviceState 
*parent, const char *nam
 
     bus->parent = parent;
     bus->name = name ? g_strdup(name) : NULL;
-    qbus_realize(bus);
+    qbus_realize(bus, NULL);
 
     return bus;
 }
-- 
1.7.10.4


Reply via email to