summaryrefslogtreecommitdiffstats
path: root/hw/pxa.h
diff options
context:
space:
mode:
authorBenoƮt Canet2011-10-30 14:50:15 +0100
committerAvi Kivity2011-11-24 17:31:58 +0100
commit6cd816b83f07ef31d39f42165dc5967625a0cc6a (patch)
tree00ada5fe853d277162e308a7f6257bd7ea9ae32f /hw/pxa.h
parentpxa2xx_pcmcia.c: convert io memory space to memory API (diff)
downloadqemu-6cd816b83f07ef31d39f42165dc5967625a0cc6a.tar.gz
qemu-6cd816b83f07ef31d39f42165dc5967625a0cc6a.tar.xz
qemu-6cd816b83f07ef31d39f42165dc5967625a0cc6a.zip
pxa2xx_keypad: convert to memory API
Signed-off-by: Benoit Canet <benoit.canet@gmail.com> Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'hw/pxa.h')
-rw-r--r--hw/pxa.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/hw/pxa.h b/hw/pxa.h
index fe99a50438..2732f8f543 100644
--- a/hw/pxa.h
+++ b/hw/pxa.h
@@ -105,8 +105,9 @@ struct keymap {
int row;
};
typedef struct PXA2xxKeyPadState PXA2xxKeyPadState;
-PXA2xxKeyPadState *pxa27x_keypad_init(target_phys_addr_t base,
- qemu_irq irq);
+PXA2xxKeyPadState *pxa27x_keypad_init(MemoryRegion *sysmem,
+ target_phys_addr_t base,
+ qemu_irq irq);
void pxa27x_register_keypad(PXA2xxKeyPadState *kp, struct keymap *map,
int size);