aboutsummaryrefslogtreecommitdiff
path: root/hw/pxa.h
diff options
context:
space:
mode:
authorBenoƮt Canet <benoit.canet@gmail.com>2011-10-30 14:50:15 +0100
committerAvi Kivity <avi@redhat.com>2011-11-24 18:31:58 +0200
commit6cd816b83f07ef31d39f42165dc5967625a0cc6a (patch)
tree00ada5fe853d277162e308a7f6257bd7ea9ae32f /hw/pxa.h
parent59aee13c8289652c888b29c0374f76b39b14cca5 (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.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);