diff options
Diffstat (limited to 'hw')
-rw-r--r-- | hw/mainstone.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/mainstone.c b/hw/mainstone.c index 4eabdb99d9..8970dd8e41 100644 --- a/hw/mainstone.c +++ b/hw/mainstone.c @@ -140,7 +140,7 @@ static void mainstone_common_init(ram_addr_t ram_size, } mst_irq = sysbus_create_simple("mainstone-fpga", MST_FPGA_PHYS, - qdev_get_gpio_in(cpu->pic, PXA2XX_PIC_GPIO_0)); + qdev_get_gpio_in(cpu->gpio, 0)); /* setup keypad */ printf("map addr %p\n", &map); |