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/tcx.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'hw/tcx.c') diff --git a/hw/tcx.c b/hw/tcx.c index 68dbf027b9..754751c98b 100644 --- a/hw/tcx.c +++ b/hw/tcx.c @@ -481,13 +481,13 @@ static void tcx_dac_writel(void *opaque, target_phys_addr_t addr, uint32_t val) return; } -static CPUReadMemoryFunc *tcx_dac_read[3] = { +static CPUReadMemoryFunc * const tcx_dac_read[3] = { NULL, NULL, tcx_dac_readl, }; -static CPUWriteMemoryFunc *tcx_dac_write[3] = { +static CPUWriteMemoryFunc * const tcx_dac_write[3] = { NULL, NULL, tcx_dac_writel, @@ -503,13 +503,13 @@ static void tcx_dummy_writel(void *opaque, target_phys_addr_t addr, { } -static CPUReadMemoryFunc *tcx_dummy_read[3] = { +static CPUReadMemoryFunc * const tcx_dummy_read[3] = { NULL, NULL, tcx_dummy_readl, }; -static CPUWriteMemoryFunc *tcx_dummy_write[3] = { +static CPUWriteMemoryFunc * const tcx_dummy_write[3] = { NULL, NULL, tcx_dummy_writel, -- cgit 1.4.1