]> git.proxmox.com Git - mirror_qemu.git/blobdiff - include/hw/qdev-core.h
bus: simplify name handling
[mirror_qemu.git] / include / hw / qdev-core.h
index 4b4b33bec88516ff3de1d48c7f4df5129cb0b2ed..2c973473f75af341b487afea117ac012ffd3980f 100644 (file)
@@ -224,7 +224,7 @@ typedef struct BusChild {
 struct BusState {
     Object obj;
     DeviceState *parent;
-    const char *name;
+    char *name;
     HotplugHandler *hotplug_handler;
     int max_index;
     bool realized;