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
|
@ -544,12 +544,12 @@ static void eth_set_link(VLANClientState *vc)
|
|||
eth->phy.link = !vc->link_down;
|
||||
}
|
||||
|
||||
static CPUReadMemoryFunc *eth_read[] = {
|
||||
static CPUReadMemoryFunc * const eth_read[] = {
|
||||
NULL, NULL,
|
||||
ð_readl,
|
||||
};
|
||||
|
||||
static CPUWriteMemoryFunc *eth_write[] = {
|
||||
static CPUWriteMemoryFunc * const eth_write[] = {
|
||||
NULL, NULL,
|
||||
ð_writel,
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue