aboutsummaryrefslogtreecommitdiff
path: root/hw/pxa2xx.c
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/pxa2xx.c
parent59aee13c8289652c888b29c0374f76b39b14cca5 (diff)
downloadqemu-6cd816b83f07ef31d39f42165dc5967625a0cc6a.zip
qemu-6cd816b83f07ef31d39f42165dc5967625a0cc6a.tar.gz
qemu-6cd816b83f07ef31d39f42165dc5967625a0cc6a.tar.bz2
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/pxa2xx.c')
-rw-r--r--hw/pxa2xx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/pxa2xx.c b/hw/pxa2xx.c
index 70711b3..cb3c18c 100644
--- a/hw/pxa2xx.c
+++ b/hw/pxa2xx.c
@@ -2149,7 +2149,7 @@ PXA2xxState *pxa270_init(MemoryRegion *address_space,
qdev_get_gpio_in(s->dma, PXA2XX_RX_RQ_I2S),
qdev_get_gpio_in(s->dma, PXA2XX_TX_RQ_I2S));
- s->kp = pxa27x_keypad_init(0x41500000,
+ s->kp = pxa27x_keypad_init(address_space, 0x41500000,
qdev_get_gpio_in(s->pic, PXA2XX_PIC_KEYPAD));
/* GPIO1 resets the processor */