aboutsummaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorBlue Swirl <blauwirbel@gmail.com>2010-02-07 09:17:35 +0000
committerBlue Swirl <blauwirbel@gmail.com>2010-02-07 09:17:35 +0000
commitff9868ecaa9293781780c757db529dac0cc48fee (patch)
treeace843cb941b7a7e5b24ddb3237d87929e1fdd55 /hw
parentb96ae2da0b50e2c0f3d27d70df32a6fd56f2593a (diff)
esp: use CamelCaseFunc for function types
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'hw')
-rw-r--r--hw/esp.c8
-rw-r--r--hw/esp.h6
2 files changed, 7 insertions, 7 deletions
diff --git a/hw/esp.c b/hw/esp.c
index 87da2a6905..0a8cf6e9fd 100644
--- a/hw/esp.c
+++ b/hw/esp.c
@@ -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;
diff --git a/hw/esp.h b/hw/esp.h
index 190bc2e268..605f953754 100644
--- a/hw/esp.h
+++ b/hw/esp.h
@@ -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