Make CPURead/WriteFunc structure 'const'

Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
This commit is contained in:
Blue Swirl 2009-08-25 18:29:31 +00:00
parent fa31af0e63
commit d60efc6b0d
144 changed files with 1552 additions and 554 deletions

View file

@ -340,13 +340,13 @@ static void pl110_write(void *opaque, target_phys_addr_t offset,
}
}
static CPUReadMemoryFunc *pl110_readfn[] = {
static CPUReadMemoryFunc * const pl110_readfn[] = {
pl110_read,
pl110_read,
pl110_read
};
static CPUWriteMemoryFunc *pl110_writefn[] = {
static CPUWriteMemoryFunc * const pl110_writefn[] = {
pl110_write,
pl110_write,
pl110_write