Revision d60efc6b hw/omap_i2c.c
b/hw/omap_i2c.c | ||
---|---|---|
408 | 408 |
} |
409 | 409 |
} |
410 | 410 |
|
411 |
static CPUReadMemoryFunc *omap_i2c_readfn[] = { |
|
411 |
static CPUReadMemoryFunc * const omap_i2c_readfn[] = {
|
|
412 | 412 |
omap_badwidth_read16, |
413 | 413 |
omap_i2c_read, |
414 | 414 |
omap_badwidth_read16, |
415 | 415 |
}; |
416 | 416 |
|
417 |
static CPUWriteMemoryFunc *omap_i2c_writefn[] = { |
|
417 |
static CPUWriteMemoryFunc * const omap_i2c_writefn[] = {
|
|
418 | 418 |
omap_i2c_writeb, /* Only the last fifo write can be 8 bit. */ |
419 | 419 |
omap_i2c_write, |
420 | 420 |
omap_badwidth_write16, |
Also available in: Unified diff