aboutsummaryrefslogtreecommitdiff
path: root/hw/misc/macio/mac_dbdma.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/misc/macio/mac_dbdma.c')
-rw-r--r--hw/misc/macio/mac_dbdma.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/hw/misc/macio/mac_dbdma.c b/hw/misc/macio/mac_dbdma.c
index 302f131c0e..0eddf2e700 100644
--- a/hw/misc/macio/mac_dbdma.c
+++ b/hw/misc/macio/mac_dbdma.c
@@ -886,20 +886,6 @@ static void dbdma_unassigned_flush(DBDMA_io *io)
__func__, ch->channel);
}
-void* DBDMA_init (MemoryRegion **dbdma_mem)
-{
- DBDMAState *s;
- SysBusDevice *sbd;
-
- s = MAC_DBDMA(object_new(TYPE_MAC_DBDMA));
- object_property_set_bool(OBJECT(s), true, "realized", NULL);
-
- sbd = SYS_BUS_DEVICE(s);
- *dbdma_mem = sysbus_mmio_get_region(sbd, 0);
-
- return s;
-}
-
static void mac_dbdma_init(Object *obj)
{
SysBusDevice *sbd = SYS_BUS_DEVICE(obj);