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/jazz_led.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'hw/jazz_led.c') diff --git a/hw/jazz_led.c b/hw/jazz_led.c index 9fdaf8f3c9..18780e9371 100644 --- a/hw/jazz_led.c +++ b/hw/jazz_led.c @@ -131,13 +131,13 @@ static void led_writel(void *opaque, target_phys_addr_t addr, uint32_t val) #endif } -static CPUReadMemoryFunc *led_read[3] = { +static CPUReadMemoryFunc * const led_read[3] = { led_readb, led_readw, led_readl, }; -static CPUWriteMemoryFunc *led_write[3] = { +static CPUWriteMemoryFunc * const led_write[3] = { led_writeb, led_writew, led_writel, -- cgit v1.2.3