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/heathrow_pic.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'hw/heathrow_pic.c') diff --git a/hw/heathrow_pic.c b/hw/heathrow_pic.c index cdb6644dc3..500b9f19bf 100644 --- a/hw/heathrow_pic.c +++ b/hw/heathrow_pic.c @@ -126,13 +126,13 @@ static uint32_t pic_readl (void *opaque, target_phys_addr_t addr) return value; } -static CPUWriteMemoryFunc *pic_write[] = { +static CPUWriteMemoryFunc * const pic_write[] = { &pic_writel, &pic_writel, &pic_writel, }; -static CPUReadMemoryFunc *pic_read[] = { +static CPUReadMemoryFunc * const pic_read[] = { &pic_readl, &pic_readl, &pic_readl, -- cgit v1.2.1