From bb70651e45c798d301549aa2e12ea6beb858c21d Mon Sep 17 00:00:00 2001 From: Dmitry Eremin-Solenikov Date: Fri, 11 Feb 2011 23:57:35 +0300 Subject: mainstone: pass one irq to the mst_fpga instead of the whole PIC Signed-off-by: Dmitry Eremin-Solenikov Signed-off-by: Andrzej Zaborowski --- hw/mainstone.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hw/mainstone.c') diff --git a/hw/mainstone.c b/hw/mainstone.c index 58e3f8670d..18d1415e4d 100644 --- a/hw/mainstone.c +++ b/hw/mainstone.c @@ -117,7 +117,7 @@ static void mainstone_common_init(ram_addr_t ram_size, } } - mst_irq = mst_irq_init(cpu, MST_FPGA_PHYS, PXA2XX_PIC_GPIO_0); + mst_irq = mst_irq_init(MST_FPGA_PHYS, cpu->pic[PXA2XX_PIC_GPIO_0]); /* setup keypad */ printf("map addr %p\n", &map); -- cgit v1.2.3