aboutsummaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authoredgar_igl <edgar_igl@c046a42c-6fe2-441c-8c8c-71466251a162>2008-11-04 20:29:29 +0000
committeredgar_igl <edgar_igl@c046a42c-6fe2-441c-8c8c-71466251a162>2008-11-04 20:29:29 +0000
commit2c99f7252e355fff8d43072d5c2771b3b16e5899 (patch)
tree3bcc18f10d115f99dfe681c0d46f9d07d32409ac /hw
parentd64394f7c1aa61dcbab0da704a456b494c5adf14 (diff)
ETRAX-FS: Make etraxfs_dmac_run local.
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5624 c046a42c-6fe2-441c-8c8c-71466251a162
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);