mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 16:53: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
|
@ -387,13 +387,13 @@ static void malta_fpga_writel(void *opaque, target_phys_addr_t addr,
|
|||
}
|
||||
}
|
||||
|
||||
static CPUReadMemoryFunc *malta_fpga_read[] = {
|
||||
static CPUReadMemoryFunc * const malta_fpga_read[] = {
|
||||
malta_fpga_readl,
|
||||
malta_fpga_readl,
|
||||
malta_fpga_readl
|
||||
};
|
||||
|
||||
static CPUWriteMemoryFunc *malta_fpga_write[] = {
|
||||
static CPUWriteMemoryFunc * const malta_fpga_write[] = {
|
||||
malta_fpga_writel,
|
||||
malta_fpga_writel,
|
||||
malta_fpga_writel
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue