summaryrefslogtreecommitdiffstats
path: root/hw/pl011.c
diff options
context:
space:
mode:
authorths2007-07-12 00:48:58 +0200
committerths2007-07-12 00:48:58 +0200
commitaa1f17c18d3778b10a93b858c10c075ee023487a (patch)
tree7ac8d036c10169cd3bd59df69055150d592491a8 /hw/pl011.c
parentReduce variable shadowing, by Stefan Weil. (diff)
downloadqemu-aa1f17c18d3778b10a93b858c10c075ee023487a.tar.gz
qemu-aa1f17c18d3778b10a93b858c10c075ee023487a.tar.xz
qemu-aa1f17c18d3778b10a93b858c10c075ee023487a.zip
Spelling fixes, by Stefan Weil.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3066 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/pl011.c')
-rw-r--r--hw/pl011.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/hw/pl011.c b/hw/pl011.c
index 64b753019d..149a85e540 100644
--- a/hw/pl011.c
+++ b/hw/pl011.c
@@ -176,7 +176,7 @@ static void pl011_write(void *opaque, target_phys_addr_t offset,
}
}
-static int pl011_can_recieve(void *opaque)
+static int pl011_can_receive(void *opaque)
{
pl011_state *s = (pl011_state *)opaque;
@@ -186,7 +186,7 @@ static int pl011_can_recieve(void *opaque)
return s->read_count < 1;
}
-static void pl011_recieve(void *opaque, const uint8_t *buf, int size)
+static void pl011_receive(void *opaque, const uint8_t *buf, int size)
{
pl011_state *s = (pl011_state *)opaque;
int slot;
@@ -241,7 +241,7 @@ void pl011_init(uint32_t base, qemu_irq irq,
s->cr = 0x300;
s->flags = 0x90;
if (chr){
- qemu_chr_add_handlers(chr, pl011_can_recieve, pl011_recieve,
+ qemu_chr_add_handlers(chr, pl011_can_receive, pl011_receive,
pl011_event, s);
}
/* ??? Save/restore. */