Revision d60efc6b hw/grackle_pci.c
b/hw/grackle_pci.c | ||
---|---|---|
72 | 72 |
return val; |
73 | 73 |
} |
74 | 74 |
|
75 |
static CPUWriteMemoryFunc *pci_grackle_config_write[] = { |
|
75 |
static CPUWriteMemoryFunc * const pci_grackle_config_write[] = {
|
|
76 | 76 |
&pci_grackle_config_writel, |
77 | 77 |
&pci_grackle_config_writel, |
78 | 78 |
&pci_grackle_config_writel, |
79 | 79 |
}; |
80 | 80 |
|
81 |
static CPUReadMemoryFunc *pci_grackle_config_read[] = { |
|
81 |
static CPUReadMemoryFunc * const pci_grackle_config_read[] = {
|
|
82 | 82 |
&pci_grackle_config_readl, |
83 | 83 |
&pci_grackle_config_readl, |
84 | 84 |
&pci_grackle_config_readl, |
85 | 85 |
}; |
86 | 86 |
|
87 |
static CPUWriteMemoryFunc *pci_grackle_write[] = { |
|
87 |
static CPUWriteMemoryFunc * const pci_grackle_write[] = {
|
|
88 | 88 |
&pci_host_data_writeb, |
89 | 89 |
&pci_host_data_writew, |
90 | 90 |
&pci_host_data_writel, |
91 | 91 |
}; |
92 | 92 |
|
93 |
static CPUReadMemoryFunc *pci_grackle_read[] = { |
|
93 |
static CPUReadMemoryFunc * const pci_grackle_read[] = {
|
|
94 | 94 |
&pci_host_data_readb, |
95 | 95 |
&pci_host_data_readw, |
96 | 96 |
&pci_host_data_readl, |
Also available in: Unified diff