From: Felipe Balbi <balbi@xxxxxx> Now that we decoupled xhci-core from PCI, we don't need this temporary patch anymore. Reverting it. Signed-off-by: Felipe Balbi <balbi@xxxxxx> Signed-off-by: Sebastian Andrzej Siewior <bigeasy@xxxxxxxxxxxxx> --- drivers/usb/host/xhci-dbg.c | 1 - drivers/usb/host/xhci-hub.c | 4 ---- drivers/usb/host/xhci-ring.c | 1 - drivers/usb/host/xhci.c | 24 ------------------------ 4 files changed, 0 insertions(+), 30 deletions(-) diff --git a/drivers/usb/host/xhci-dbg.c b/drivers/usb/host/xhci-dbg.c index cc01229f..e9b0f04 100644 --- a/drivers/usb/host/xhci-dbg.c +++ b/drivers/usb/host/xhci-dbg.c @@ -238,7 +238,6 @@ void xhci_print_registers(struct xhci_hcd *xhci) xhci_print_op_regs(xhci); xhci_print_ports(xhci); } -EXPORT_SYMBOL_GPL(xhci_print_registers); void xhci_print_trb_offsets(struct xhci_hcd *xhci, union xhci_trb *trb) { diff --git a/drivers/usb/host/xhci-hub.c b/drivers/usb/host/xhci-hub.c index e7c3896..0be788c 100644 --- a/drivers/usb/host/xhci-hub.c +++ b/drivers/usb/host/xhci-hub.c @@ -724,7 +724,6 @@ error: spin_unlock_irqrestore(&xhci->lock, flags); return retval; } -EXPORT_SYMBOL_GPL(xhci_hub_control); /* * Returns 0 if the status hasn't changed, or the number of bytes in buf. @@ -774,7 +773,6 @@ int xhci_hub_status_data(struct usb_hcd *hcd, char *buf) spin_unlock_irqrestore(&xhci->lock, flags); return status ? retval : 0; } -EXPORT_SYMBOL_GPL(xhci_hub_status_data); #ifdef CONFIG_PM @@ -861,7 +859,6 @@ int xhci_bus_suspend(struct usb_hcd *hcd) spin_unlock_irqrestore(&xhci->lock, flags); return 0; } -EXPORT_SYMBOL_GPL(xhci_bus_suspend); int xhci_bus_resume(struct usb_hcd *hcd) { @@ -973,6 +970,5 @@ int xhci_bus_resume(struct usb_hcd *hcd) spin_unlock_irqrestore(&xhci->lock, flags); return 0; } -EXPORT_SYMBOL_GPL(xhci_bus_resume); #endif /* CONFIG_PM */ diff --git a/drivers/usb/host/xhci-ring.c b/drivers/usb/host/xhci-ring.c index 57e7df5..7113d16 100644 --- a/drivers/usb/host/xhci-ring.c +++ b/drivers/usb/host/xhci-ring.c @@ -2349,7 +2349,6 @@ hw_died: return IRQ_HANDLED; } -EXPORT_SYMBOL_GPL(xhci_irq); irqreturn_t xhci_msi_irq(int irq, struct usb_hcd *hcd) { diff --git a/drivers/usb/host/xhci.c b/drivers/usb/host/xhci.c index 74b8a9d..55d5a16 100644 --- a/drivers/usb/host/xhci.c +++ b/drivers/usb/host/xhci.c @@ -109,7 +109,6 @@ int xhci_halt(struct xhci_hcd *xhci) xhci->xhc_state |= XHCI_STATE_HALTED; return ret; } -EXPORT_SYMBOL_GPL(xhci_halt); /* * Set the run bit and wait for the host to be running. @@ -176,7 +175,6 @@ int xhci_reset(struct xhci_hcd *xhci) */ return handshake(xhci, &xhci->op_regs->status, STS_CNR, 0, 250 * 1000); } -EXPORT_SYMBOL_GPL(xhci_reset); #ifdef CONFIG_PCI static int xhci_free_msi(struct xhci_hcd *xhci) @@ -425,7 +423,6 @@ int xhci_init(struct usb_hcd *hcd) return retval; } -EXPORT_SYMBOL_GPL(xhci_init); /*-------------------------------------------------------------------------*/ @@ -580,7 +577,6 @@ int xhci_run(struct usb_hcd *hcd) xhci_dbg(xhci, "Finished xhci_run for USB2 roothub\n"); return 0; } -EXPORT_SYMBOL_GPL(xhci_run); static void xhci_only_stop_hcd(struct usb_hcd *hcd) { @@ -648,7 +644,6 @@ void xhci_stop(struct usb_hcd *hcd) xhci_dbg(xhci, "xhci_stop completed - status = %x\n", xhci_readl(xhci, &xhci->op_regs->status)); } -EXPORT_SYMBOL_GPL(xhci_stop); /* * Shutdown HC (not bus-specific) @@ -672,7 +667,6 @@ void xhci_shutdown(struct usb_hcd *hcd) xhci_dbg(xhci, "xhci_shutdown completed - status = %x\n", xhci_readl(xhci, &xhci->op_regs->status)); } -EXPORT_SYMBOL_GPL(xhci_shutdown); #ifdef CONFIG_PM static void xhci_save_registers(struct xhci_hcd *xhci) @@ -809,7 +803,6 @@ int xhci_suspend(struct xhci_hcd *xhci) return rc; } -EXPORT_SYMBOL_GPL(xhci_suspend); /* * start xHC (not bus-specific) @@ -939,7 +932,6 @@ failed_restart: spin_unlock_irq(&xhci->lock); return 0; } -EXPORT_SYMBOL_GPL(xhci_resume); #endif /* CONFIG_PM */ /*-------------------------------------------------------------------------*/ @@ -1215,7 +1207,6 @@ dying: spin_unlock_irqrestore(&xhci->lock, flags); return -ESHUTDOWN; } -EXPORT_SYMBOL_GPL(xhci_urb_enqueue); /* Get the right ring for the given URB. * If the endpoint supports streams, boundary check the URB's stream ID. @@ -1367,7 +1358,6 @@ done: spin_unlock_irqrestore(&xhci->lock, flags); return ret; } -EXPORT_SYMBOL_GPL(xhci_urb_dequeue); /* Drop an endpoint from a new bandwidth configuration for this device. * Only one call to this function is allowed per endpoint before @@ -1454,7 +1444,6 @@ int xhci_drop_endpoint(struct usb_hcd *hcd, struct usb_device *udev, (unsigned int) new_slot_info); return 0; } -EXPORT_SYMBOL_GPL(xhci_drop_endpoint); /* Add an endpoint to a new possible bandwidth configuration for this device. * Only one call to this function is allowed per endpoint before @@ -1577,7 +1566,6 @@ int xhci_add_endpoint(struct usb_hcd *hcd, struct usb_device *udev, (unsigned int) new_slot_info); return 0; } -EXPORT_SYMBOL_GPL(xhci_add_endpoint); static void xhci_zero_in_ctx(struct xhci_hcd *xhci, struct xhci_virt_device *virt_dev) { @@ -1984,7 +1972,6 @@ int xhci_check_bandwidth(struct usb_hcd *hcd, struct usb_device *udev) return ret; } -EXPORT_SYMBOL_GPL(xhci_check_bandwidth); void xhci_reset_bandwidth(struct usb_hcd *hcd, struct usb_device *udev) { @@ -2008,7 +1995,6 @@ void xhci_reset_bandwidth(struct usb_hcd *hcd, struct usb_device *udev) } xhci_zero_in_ctx(xhci, virt_dev); } -EXPORT_SYMBOL_GPL(xhci_reset_bandwidth); static void xhci_setup_input_ctx_for_config_ep(struct xhci_hcd *xhci, struct xhci_container_ctx *in_ctx, @@ -2147,7 +2133,6 @@ void xhci_endpoint_reset(struct usb_hcd *hcd, if (ret) xhci_warn(xhci, "FIXME allocate a new ring segment\n"); } -EXPORT_SYMBOL_GPL(xhci_endpoint_reset); static int xhci_check_streams_endpoint(struct xhci_hcd *xhci, struct usb_device *udev, struct usb_host_endpoint *ep, @@ -2443,7 +2428,6 @@ cleanup: xhci_free_command(xhci, config_cmd); return -ENOMEM; } -EXPORT_SYMBOL_GPL(xhci_alloc_streams); /* Transition the endpoint from using streams to being a "normal" endpoint * without streams. @@ -2525,7 +2509,6 @@ int xhci_free_streams(struct usb_hcd *hcd, struct usb_device *udev, return 0; } -EXPORT_SYMBOL_GPL(xhci_free_streams); /* * Deletes endpoint resources for endpoints that were active before a Reset @@ -2554,7 +2537,6 @@ void xhci_free_device_endpoint_resources(struct xhci_hcd *xhci, num_dropped_eps, drop_flags, xhci->num_active_eps); } -EXPORT_SYMBOL_GPL(xhci_free_device_endpoint_resources); /* * This submits a Reset Device Command, which will set the device state to 0, @@ -2735,7 +2717,6 @@ command_cleanup: xhci_free_command(xhci, reset_device_cmd); return ret; } -EXPORT_SYMBOL_GPL(xhci_discover_or_reset_device); /* * At this point, the struct usb_device is about to go away, the device has @@ -2783,7 +2764,6 @@ void xhci_free_dev(struct usb_hcd *hcd, struct usb_device *udev) * associated with the slot. XXX Can free sleep? */ } -EXPORT_SYMBOL_GPL(xhci_free_dev); /* * Checks if we have enough host controller resources for the default control @@ -2875,7 +2855,6 @@ disable_slot: spin_unlock_irqrestore(&xhci->lock, flags); return 0; } -EXPORT_SYMBOL_GPL(xhci_alloc_dev); /* * Issue an Address Device command (which will issue a SetAddress request to @@ -3015,7 +2994,6 @@ int xhci_address_device(struct usb_hcd *hcd, struct usb_device *udev) return 0; } -EXPORT_SYMBOL_GPL(xhci_address_device); /* Once a hub descriptor is fetched for a device, we need to update the xHC's * internal data structures for the device. @@ -3103,7 +3081,6 @@ int xhci_update_hub_device(struct usb_hcd *hcd, struct usb_device *hdev, xhci_free_command(xhci, config_cmd); return ret; } -EXPORT_SYMBOL_GPL(xhci_update_hub_device); int xhci_get_frame(struct usb_hcd *hcd) { @@ -3111,7 +3088,6 @@ int xhci_get_frame(struct usb_hcd *hcd) /* EHCI mods by the periodic size. Why? */ return xhci_readl(xhci, &xhci->run_regs->microframe_index) >> 3; } -EXPORT_SYMBOL_GPL(xhci_get_frame); MODULE_DESCRIPTION(DRIVER_DESC); MODULE_AUTHOR(DRIVER_AUTHOR); -- 1.7.4.4 -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html