summaryrefslogtreecommitdiff
path: root/include/hw/misc
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>2019-06-24 18:55:47 +0200
committerPhilippe Mathieu-Daudé <f4bug@amsat.org>2020-06-09 06:59:44 +0200
commit28c78fe818257eb1229448ac672e9f350b37437d (patch)
tree0418451c7b34effc17c086b0e7d160ad546760db /include/hw/misc
parent6007523a80bc5100c22a1caf642a9e8a3ea7bd15 (diff)
downloadqemu-28c78fe818257eb1229448ac672e9f350b37437d.zip
hw/misc/empty_slot: Name the slots when created
Directly set the slot name when creating the device, to display the device name in trace events. Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Acked-by: Artyom Tarasenko <atar4qemu@gmail.com> Message-Id: <20200510152840.13558-8-f4bug@amsat.org>
Diffstat (limited to 'include/hw/misc')
-rw-r--r--include/hw/misc/empty_slot.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/hw/misc/empty_slot.h b/include/hw/misc/empty_slot.h
index b023bc2d91..dec56e56ae 100644
--- a/include/hw/misc/empty_slot.h
+++ b/include/hw/misc/empty_slot.h
@@ -14,6 +14,6 @@
#include "exec/hwaddr.h"
-void empty_slot_init(hwaddr addr, uint64_t slot_size);
+void empty_slot_init(const char *name, hwaddr addr, uint64_t slot_size);
#endif