aboutsummaryrefslogtreecommitdiff
path: root/hw/jazz_led.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/jazz_led.c')
-rw-r--r--hw/jazz_led.c4
1 files changed, 2 insertions, 2 deletions
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,