Revision 3741715c hw/usb-net.c

b/hw/usb-net.c
1353 1353
    return 0;
1354 1354
}
1355 1355

  
1356
static USBDevice *usb_net_init(const char *cmdline)
1356
static USBDevice *usb_net_init(USBBus *bus, const char *cmdline)
1357 1357
{
1358 1358
    USBDevice *dev;
1359 1359
    QemuOpts *opts;
......
1371 1371
        return NULL;
1372 1372
    }
1373 1373

  
1374
    dev = usb_create(NULL /* FIXME */, "usb-net");
1374
    dev = usb_create(bus, "usb-net");
1375 1375
    if (!dev) {
1376 1376
        return NULL;
1377 1377
    }

Also available in: Unified diff