Revision d60efc6b hw/axis_dev88.c
b/hw/axis_dev88.c | ||
---|---|---|
69 | 69 |
s->rdy = rdy; |
70 | 70 |
} |
71 | 71 |
|
72 |
static CPUReadMemoryFunc *nand_read[] = { |
|
72 |
static CPUReadMemoryFunc * const nand_read[] = {
|
|
73 | 73 |
&nand_readl, |
74 | 74 |
&nand_readl, |
75 | 75 |
&nand_readl, |
76 | 76 |
}; |
77 | 77 |
|
78 |
static CPUWriteMemoryFunc *nand_write[] = { |
|
78 |
static CPUWriteMemoryFunc * const nand_write[] = {
|
|
79 | 79 |
&nand_writel, |
80 | 80 |
&nand_writel, |
81 | 81 |
&nand_writel, |
... | ... | |
226 | 226 |
} |
227 | 227 |
} |
228 | 228 |
|
229 |
static CPUReadMemoryFunc *gpio_read[] = { |
|
229 |
static CPUReadMemoryFunc * const gpio_read[] = {
|
|
230 | 230 |
NULL, NULL, |
231 | 231 |
&gpio_readl, |
232 | 232 |
}; |
233 | 233 |
|
234 |
static CPUWriteMemoryFunc *gpio_write[] = { |
|
234 |
static CPUWriteMemoryFunc * const gpio_write[] = {
|
|
235 | 235 |
NULL, NULL, |
236 | 236 |
&gpio_writel, |
237 | 237 |
}; |
Also available in: Unified diff