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/pxa2xx_pcmcia.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'hw/pxa2xx_pcmcia.c') diff --git a/hw/pxa2xx_pcmcia.c b/hw/pxa2xx_pcmcia.c index cb13a26..5b42147 100644 --- a/hw/pxa2xx_pcmcia.c +++ b/hw/pxa2xx_pcmcia.c @@ -85,37 +85,37 @@ static void pxa2xx_pcmcia_io_write(void *opaque, } } -static CPUReadMemoryFunc *pxa2xx_pcmcia_common_readfn[] = { +static CPUReadMemoryFunc * const pxa2xx_pcmcia_common_readfn[] = { pxa2xx_pcmcia_common_read, pxa2xx_pcmcia_common_read, pxa2xx_pcmcia_common_read, }; -static CPUWriteMemoryFunc *pxa2xx_pcmcia_common_writefn[] = { +static CPUWriteMemoryFunc * const pxa2xx_pcmcia_common_writefn[] = { pxa2xx_pcmcia_common_write, pxa2xx_pcmcia_common_write, pxa2xx_pcmcia_common_write, }; -static CPUReadMemoryFunc *pxa2xx_pcmcia_attr_readfn[] = { +static CPUReadMemoryFunc * const pxa2xx_pcmcia_attr_readfn[] = { pxa2xx_pcmcia_attr_read, pxa2xx_pcmcia_attr_read, pxa2xx_pcmcia_attr_read, }; -static CPUWriteMemoryFunc *pxa2xx_pcmcia_attr_writefn[] = { +static CPUWriteMemoryFunc * const pxa2xx_pcmcia_attr_writefn[] = { pxa2xx_pcmcia_attr_write, pxa2xx_pcmcia_attr_write, pxa2xx_pcmcia_attr_write, }; -static CPUReadMemoryFunc *pxa2xx_pcmcia_io_readfn[] = { +static CPUReadMemoryFunc * const pxa2xx_pcmcia_io_readfn[] = { pxa2xx_pcmcia_io_read, pxa2xx_pcmcia_io_read, pxa2xx_pcmcia_io_read, }; -static CPUWriteMemoryFunc *pxa2xx_pcmcia_io_writefn[] = { +static CPUWriteMemoryFunc * const pxa2xx_pcmcia_io_writefn[] = { pxa2xx_pcmcia_io_write, pxa2xx_pcmcia_io_write, pxa2xx_pcmcia_io_write, -- cgit v1.1