summaryrefslogtreecommitdiff
path: root/hw/cuda.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/cuda.c')
-rw-r--r--hw/cuda.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/hw/cuda.c b/hw/cuda.c
index f863c38a89..b3a875c3bc 100644
--- a/hw/cuda.c
+++ b/hw/cuda.c
@@ -712,6 +712,9 @@ static void cuda_initfn(Object *obj)
for (i = 0; i < ARRAY_SIZE(s->timers); i++) {
s->timers[i].index = i;
}
+
+ qbus_create_inplace((BusState *)&adb_bus, TYPE_ADB_BUS, DEVICE(obj),
+ "adb.0");
}
static void cuda_class_init(ObjectClass *oc, void *data)