]> err.no Git - linux-2.6/blobdiff - drivers/usb/host/ohci-ps3.c
USB: usb dev_name() instead of dev->bus_id
[linux-2.6] / drivers / usb / host / ohci-ps3.c
index bfdeb0d22d050576755f6d1054d9d4b561bb7e3a..55c95647f008d7eec7eb6991a6a5f19212f4fd59 100644 (file)
@@ -68,6 +68,7 @@ static const struct hc_driver ps3_ohci_hc_driver = {
        .get_frame_number       = ohci_get_frame,
        .hub_status_data        = ohci_hub_status_data,
        .hub_control            = ohci_hub_control,
+       .hub_irq_enable         = ohci_rhsc_enable,
        .start_port_reset       = ohci_start_port_reset,
 #if defined(CONFIG_PM)
        .bus_suspend            = ohci_bus_suspend,
@@ -128,7 +129,7 @@ static int ps3_ohci_probe(struct ps3_system_bus_device *dev)
 
        dev->core.dma_mask = &dummy_mask; /* FIXME: for improper usb code */
 
-       hcd = usb_create_hcd(&ps3_ohci_hc_driver, &dev->core, dev->core.bus_id);
+       hcd = usb_create_hcd(&ps3_ohci_hc_driver, &dev->core, dev_name(&dev->core));
 
        if (!hcd) {
                dev_dbg(&dev->core, "%s:%d: usb_create_hcd failed\n", __func__,