]> Git Repo - qemu.git/blobdiff - hw/fdc.h
isa: give ISABus/ISADevice to isa_create(), isa_bus_irqs() and isa_get_irq() functions
[qemu.git] / hw / fdc.h
index 506feb65572683fed4cdad7364bae868eb9ddac9..55a8d732c18b7bdce096f9fc6282b5ab86f2a6d9 100644 (file)
--- a/hw/fdc.h
+++ b/hw/fdc.h
@@ -7,11 +7,11 @@
 /* fdc.c */
 #define MAX_FD 2
 
-static inline ISADevice *fdctrl_init_isa(DriveInfo **fds)
+static inline ISADevice *fdctrl_init_isa(ISABus *bus, DriveInfo **fds)
 {
     ISADevice *dev;
 
-    dev = isa_try_create("isa-fdc");
+    dev = isa_try_create(bus, "isa-fdc");
     if (!dev) {
         return NULL;
     }
This page took 0.033273 seconds and 4 git commands to generate.