aboutsummaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
Diffstat (limited to 'hw')
-rw-r--r--hw/etraxfs_dma.c2
-rw-r--r--hw/etraxfs_dma.h1
2 files changed, 1 insertions, 2 deletions
diff --git a/hw/etraxfs_dma.c b/hw/etraxfs_dma.c
index d2604fb9fa..a77339a8d6 100644
--- a/hw/etraxfs_dma.c
+++ b/hw/etraxfs_dma.c
@@ -673,7 +673,7 @@ static CPUWriteMemoryFunc *dma_write[] = {
&dma_writel,
};
-void etraxfs_dmac_run(void *opaque)
+static void etraxfs_dmac_run(void *opaque)
{
struct fs_dma_ctrl *ctrl = opaque;
int i;
diff --git a/hw/etraxfs_dma.h b/hw/etraxfs_dma.h
index 27719aeae4..c29dab9763 100644
--- a/hw/etraxfs_dma.h
+++ b/hw/etraxfs_dma.h
@@ -19,6 +19,5 @@ void etraxfs_dmac_connect(void *opaque, int channel, qemu_irq *line,
int input);
void etraxfs_dmac_connect_client(void *opaque, int c,
struct etraxfs_dma_client *cl);
-void etraxfs_dmac_run(void *opaque);
int etraxfs_dmac_input(struct etraxfs_dma_client *client,
void *buf, int len, int eop);