~ubuntu-bugs-auftrags-killer/qemu/proper-error-characters

« back to all changes in this revision

Viewing changes to hw/omap_dma.c

  • Committer: Blue Swirl
  • Date: 2009-08-25 18:29:31 UTC
  • Revision ID: git-v1:d60efc6b0d3d4e90cbbb86e21451e55263c29416
Make CPURead/WriteFunc structure 'const'

Signed-off-by: Blue Swirl <blauwirbel@gmail.com>

Show diffs side-by-side

added added

removed removed

Lines of Context:
1526
1526
    OMAP_BAD_REG(addr);
1527
1527
}
1528
1528
 
1529
 
static CPUReadMemoryFunc *omap_dma_readfn[] = {
 
1529
static CPUReadMemoryFunc * const omap_dma_readfn[] = {
1530
1530
    omap_badwidth_read16,
1531
1531
    omap_dma_read,
1532
1532
    omap_badwidth_read16,
1533
1533
};
1534
1534
 
1535
 
static CPUWriteMemoryFunc *omap_dma_writefn[] = {
 
1535
static CPUWriteMemoryFunc * const omap_dma_writefn[] = {
1536
1536
    omap_badwidth_write16,
1537
1537
    omap_dma_write,
1538
1538
    omap_badwidth_write16,
2017
2017
    }
2018
2018
}
2019
2019
 
2020
 
static CPUReadMemoryFunc *omap_dma4_readfn[] = {
 
2020
static CPUReadMemoryFunc * const omap_dma4_readfn[] = {
2021
2021
    omap_badwidth_read16,
2022
2022
    omap_dma4_read,
2023
2023
    omap_dma4_read,
2024
2024
};
2025
2025
 
2026
 
static CPUWriteMemoryFunc *omap_dma4_writefn[] = {
 
2026
static CPUWriteMemoryFunc * const omap_dma4_writefn[] = {
2027
2027
    omap_badwidth_write16,
2028
2028
    omap_dma4_write,
2029
2029
    omap_dma4_write,