aboutsummaryrefslogtreecommitdiff
path: root/hw/pl031.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/pl031.c')
-rw-r--r--hw/pl031.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/pl031.c b/hw/pl031.c
index 5c9992edf5..671491fba2 100644
--- a/hw/pl031.c
+++ b/hw/pl031.c
@@ -171,13 +171,13 @@ static void pl031_write(void * opaque, target_phys_addr_t offset,
}
}
-static CPUWriteMemoryFunc * pl031_writefn[] = {
+static CPUWriteMemoryFunc * const pl031_writefn[] = {
pl031_write,
pl031_write,
pl031_write
};
-static CPUReadMemoryFunc * pl031_readfn[] = {
+static CPUReadMemoryFunc * const pl031_readfn[] = {
pl031_read,
pl031_read,
pl031_read