diff options
author | BenoƮt Canet <benoit.canet@gmail.com> | 2011-10-30 14:50:15 +0100 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2011-11-24 18:31:58 +0200 |
commit | 6cd816b83f07ef31d39f42165dc5967625a0cc6a (patch) | |
tree | 00ada5fe853d277162e308a7f6257bd7ea9ae32f /hw/pxa.h | |
parent | 59aee13c8289652c888b29c0374f76b39b14cca5 (diff) |
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.h | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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); |