From 48a18b3c698295e4d891f34e919615e84e20f027 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Herv=C3=A9=20Poussineau?= Date: Thu, 15 Dec 2011 22:09:51 +0100 Subject: isa: give ISABus/ISADevice to isa_create(), isa_bus_irqs() and isa_get_irq() functions MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit NULL is a valid bus/device, so there is no change in behaviour. Signed-off-by: Hervé Poussineau Signed-off-by: Anthony Liguori --- hw/cs4231a.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'hw/cs4231a.c') diff --git a/hw/cs4231a.c b/hw/cs4231a.c index a7e03a3..0238829 100644 --- a/hw/cs4231a.c +++ b/hw/cs4231a.c @@ -659,9 +659,9 @@ static int cs4231a_initfn (ISADevice *dev) return 0; } -int cs4231a_init (qemu_irq *pic) +int cs4231a_init (ISABus *bus, qemu_irq *pic) { - isa_create_simple ("cs4231a"); + isa_create_simple (bus, "cs4231a"); return 0; } -- cgit v1.1