diff options
Diffstat (limited to 'hw/cuda.c')
| -rw-r--r-- | hw/cuda.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/cuda.c b/hw/cuda.c index a948ec0ed9..3acd8812ce 100644 --- a/hw/cuda.c +++ b/hw/cuda.c @@ -630,13 +630,13 @@ static uint32_t cuda_readl (void *opaque, target_phys_addr_t addr) return 0; } -static CPUWriteMemoryFunc *cuda_write[] = { +static CPUWriteMemoryFunc * const cuda_write[] = { &cuda_writeb, &cuda_writew, &cuda_writel, }; -static CPUReadMemoryFunc *cuda_read[] = { +static CPUReadMemoryFunc * const cuda_read[] = { &cuda_readb, &cuda_readw, &cuda_readl, |