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/pxa2xx.c | |
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/pxa2xx.c')
-rw-r--r-- | hw/pxa2xx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/pxa2xx.c b/hw/pxa2xx.c index 70711b357d..cb3c18cf58 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 */ |