summary refs log tree commit diff stats
path: root/hw/dma
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2016-03-09 12:55:26 +0100
committerPaolo Bonzini <pbonzini@redhat.com>2016-03-22 22:20:16 +0100
commitbd36a618ccb61ea0fddb92e75f3754c4e1a7fbfe (patch)
tree1fa1a7045852e753c7f92ff0ea35ea4505ad08b6 /hw/dma
parent8a98ecada310b14b4a2c133822674e070a7ba350 (diff)
downloadfocaccia-qemu-bd36a618ccb61ea0fddb92e75f3754c4e1a7fbfe.tar.gz
focaccia-qemu-bd36a618ccb61ea0fddb92e75f3754c4e1a7fbfe.zip
isa: Move DMA_transfer_handler from qemu-common.h to hw/isa/isa.h
DMA_transfer_handler is actually an ISA thing, and as such has no
business in qemu-common.h.  Move it to hw/isa/isa.h, and rename it to
IsaDmaTransferHandler.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/dma')
-rw-r--r--hw/dma/i8257.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/dma/i8257.c b/hw/dma/i8257.c
index 6078893efb..f345c54762 100644
--- a/hw/dma/i8257.c
+++ b/hw/dma/i8257.c
@@ -381,7 +381,7 @@ out:
 }
 
 static void i8257_dma_register_channel(IsaDma *obj, int nchan,
-                                       DMA_transfer_handler transfer_handler,
+                                       IsaDmaTransferHandler transfer_handler,
                                        void *opaque)
 {
     I8257State *d = I8257(obj);