aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Färber <afaerber@suse.de>2013-07-17 19:06:47 +0200
committerAndreas Färber <afaerber@suse.de>2013-11-05 18:06:51 +0100
commit853ca11dafb625e36db036b8e83d6e2168703e1f (patch)
tree87328be845ac607fb1b98dfc97618e3b225f111d
parenta25ebcacdda4dd6e68ac62acb4c72f3f868b938d (diff)
downloadqemu-853ca11dafb625e36db036b8e83d6e2168703e1f.tar.gz
pxa: Fix typo "dettach"
Signed-off-by: Andreas Färber <afaerber@suse.de>
-rw-r--r--hw/misc/pxa2xx_pcmcia.c2
-rw-r--r--include/hw/arm/pxa.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/hw/misc/pxa2xx_pcmcia.c b/hw/misc/pxa2xx_pcmcia.c
index ef71a2af74e..76724a6ac69 100644
--- a/hw/misc/pxa2xx_pcmcia.c
+++ b/hw/misc/pxa2xx_pcmcia.c
@@ -178,7 +178,7 @@ int pxa2xx_pcmcia_attach(void *opaque, PCMCIACardState *card)
}
/* Eject card from the slot */
-int pxa2xx_pcmcia_dettach(void *opaque)
+int pxa2xx_pcmcia_detach(void *opaque)
{
PXA2xxPCMCIAState *s = (PXA2xxPCMCIAState *) opaque;
if (!s->slot.attached)
diff --git a/include/hw/arm/pxa.h b/include/hw/arm/pxa.h
index 668232cead9..a4e1a662646 100644
--- a/include/hw/arm/pxa.h
+++ b/include/hw/arm/pxa.h
@@ -97,7 +97,7 @@ typedef struct PXA2xxPCMCIAState PXA2xxPCMCIAState;
PXA2xxPCMCIAState *pxa2xx_pcmcia_init(MemoryRegion *sysmem,
hwaddr base);
int pxa2xx_pcmcia_attach(void *opaque, PCMCIACardState *card);
-int pxa2xx_pcmcia_dettach(void *opaque);
+int pxa2xx_pcmcia_detach(void *opaque);
void pxa2xx_pcmcia_set_irq_cb(void *opaque, qemu_irq irq, qemu_irq cd_irq);
/* pxa2xx_keypad.c */