From d60efc6b0d3d4e90cbbb86e21451e55263c29416 Mon Sep 17 00:00:00 2001 From: Blue Swirl Date: Tue, 25 Aug 2009 18:29:31 +0000 Subject: Make CPURead/WriteFunc structure 'const' Signed-off-by: Blue Swirl --- hw/ppc_newworld.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'hw/ppc_newworld.c') diff --git a/hw/ppc_newworld.c b/hw/ppc_newworld.c index 784e52726a..35a9858b73 100644 --- a/hw/ppc_newworld.c +++ b/hw/ppc_newworld.c @@ -66,13 +66,13 @@ static uint32_t unin_readl (void *opaque, target_phys_addr_t addr) return value; } -static CPUWriteMemoryFunc *unin_write[] = { +static CPUWriteMemoryFunc * const unin_write[] = { &unin_writel, &unin_writel, &unin_writel, }; -static CPUReadMemoryFunc *unin_read[] = { +static CPUReadMemoryFunc * const unin_read[] = { &unin_readl, &unin_readl, &unin_readl, -- cgit v1.2.3