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/gt64xxx.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'hw/gt64xxx.c') diff --git a/hw/gt64xxx.c b/hw/gt64xxx.c index 3b44fc9ef..211513081 100644 --- a/hw/gt64xxx.c +++ b/hw/gt64xxx.c @@ -854,13 +854,13 @@ static uint32_t gt64120_readl (void *opaque, return val; } -static CPUWriteMemoryFunc *gt64120_write[] = { +static CPUWriteMemoryFunc * const gt64120_write[] = { >64120_writel, >64120_writel, >64120_writel, }; -static CPUReadMemoryFunc *gt64120_read[] = { +static CPUReadMemoryFunc * const gt64120_read[] = { >64120_readl, >64120_readl, >64120_readl, -- cgit v1.2.3