Commit 6abe522c171e3576e8b27205e4e43d272c42f5e6

Authored by Evgeniy Dushistov
1 parent 1d47d78e

Make CPUWriteMemoryFunc not const, seems the problem in too old master

revert back after rebase
Showing 1 changed file with 2 additions and 2 deletions
hw/pflash_atmel.c
... ... @@ -434,13 +434,13 @@ static void pflash_writel (void *opaque, target_phys_addr_t addr,
434 434 pflash_write(pfl, addr, value, 4);
435 435 }
436 436  
437   -static CPUWriteMemoryFunc * const pflash_write_ops[] = {
  437 +static CPUWriteMemoryFunc * pflash_write_ops[] = {
438 438 &pflash_writeb,
439 439 &pflash_writew,
440 440 &pflash_writel,
441 441 };
442 442  
443   -static CPUReadMemoryFunc * const pflash_read_ops[] = {
  443 +static CPUReadMemoryFunc * pflash_read_ops[] = {
444 444 &pflash_readb,
445 445 &pflash_readw,
446 446 &pflash_readl,
... ...