diff options
author | Blue Swirl <blauwirbel@gmail.com> | 2010-02-07 09:17:35 +0000 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2010-02-07 09:17:35 +0000 |
commit | ff9868ecaa9293781780c757db529dac0cc48fee (patch) | |
tree | ace843cb941b7a7e5b24ddb3237d87929e1fdd55 /hw | |
parent | b96ae2da0b50e2c0f3d27d70df32a6fd56f2593a (diff) | |
download | qemu-ff9868ecaa9293781780c757db529dac0cc48fee.tar.gz qemu-ff9868ecaa9293781780c757db529dac0cc48fee.tar.bz2 qemu-ff9868ecaa9293781780c757db529dac0cc48fee.zip |
esp: use CamelCaseFunc for function types
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'hw')
-rw-r--r-- | hw/esp.c | 8 | ||||
-rw-r--r-- | hw/esp.h | 6 |
2 files changed, 7 insertions, 7 deletions
@@ -77,8 +77,8 @@ struct ESPState { uint8_t *async_buf; uint32_t async_len; - espdma_memory_read_write dma_memory_read; - espdma_memory_read_write dma_memory_write; + ESPDMAMemoryReadWriteFunc dma_memory_read; + ESPDMAMemoryReadWriteFunc dma_memory_write; void *dma_opaque; }; @@ -635,8 +635,8 @@ static const VMStateDescription vmstate_esp = { }; void esp_init(target_phys_addr_t espaddr, int it_shift, - espdma_memory_read_write dma_memory_read, - espdma_memory_read_write dma_memory_write, + ESPDMAMemoryReadWriteFunc dma_memory_read, + ESPDMAMemoryReadWriteFunc dma_memory_write, void *dma_opaque, qemu_irq irq, qemu_irq *reset) { DeviceState *dev; @@ -3,10 +3,10 @@ /* esp.c */ #define ESP_MAX_DEVS 7 -typedef void (*espdma_memory_read_write)(void *opaque, uint8_t *buf, int len); +typedef void (*ESPDMAMemoryReadWriteFunc)(void *opaque, uint8_t *buf, int len); void esp_init(target_phys_addr_t espaddr, int it_shift, - espdma_memory_read_write dma_memory_read, - espdma_memory_read_write dma_memory_write, + ESPDMAMemoryReadWriteFunc dma_memory_read, + ESPDMAMemoryReadWriteFunc dma_memory_write, void *dma_opaque, qemu_irq irq, qemu_irq *reset); #endif |