summaryrefslogtreecommitdiff
path: root/hw/dma.c
diff options
context:
space:
mode:
authorpbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162>2008-07-05 17:03:54 +0000
committerpbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162>2008-07-05 17:03:54 +0000
commitb4cfd7107414d98993585e4a4a5abc74e1c538b7 (patch)
treef0debef3e3541cbac38cba9edf12d1f844ea7fd5 /hw/dma.c
parentef9c9a7e284b1cff083a9b54290e41d8de16645e (diff)
downloadqemu-b4cfd7107414d98993585e4a4a5abc74e1c538b7.tar.gz
qemu-b4cfd7107414d98993585e4a4a5abc74e1c538b7.tar.bz2
qemu-b4cfd7107414d98993585e4a4a5abc74e1c538b7.zip
Re-add static qualifier. Fix annother occurance of "const static".
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4850 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/dma.c')
-rw-r--r--hw/dma.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/dma.c b/hw/dma.c
index bbdecc5229..00c6332b4f 100644
--- a/hw/dma.c
+++ b/hw/dma.c
@@ -450,7 +450,7 @@ static int dma_phony_handler (void *opaque, int nchan, int dma_pos, int dma_len)
static void dma_init2(struct dma_cont *d, int base, int dshift,
int page_base, int pageh_base)
{
- const int page_port_list[] = { 0x1, 0x2, 0x3, 0x7 };
+ static const int page_port_list[] = { 0x1, 0x2, 0x3, 0x7 };
int i;
d->dshift = dshift;