mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 01:03:55 -06:00
Make CPURead/WriteFunc structure 'const'
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
This commit is contained in:
parent
fa31af0e63
commit
d60efc6b0d
144 changed files with 1552 additions and 554 deletions
|
@ -122,12 +122,12 @@ ser_writel (void *opaque, target_phys_addr_t addr, uint32_t value)
|
|||
ser_update_irq(s);
|
||||
}
|
||||
|
||||
static CPUReadMemoryFunc *ser_read[] = {
|
||||
static CPUReadMemoryFunc * const ser_read[] = {
|
||||
NULL, NULL,
|
||||
&ser_readl,
|
||||
};
|
||||
|
||||
static CPUWriteMemoryFunc *ser_write[] = {
|
||||
static CPUWriteMemoryFunc * const ser_write[] = {
|
||||
NULL, NULL,
|
||||
&ser_writel,
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue