mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 03:15:31 +09:00
Revert "ANDROID: usb: host: export additional xhci symbols for ring management"
This reverts commit 6c997d153d.
The symbols exported by it were never used by any external modules, so
remove the unneeded exports.
Bug: 203756332
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: I338313c0c2ad1ec83f452db910a6ef9b5ee32b7d
This commit is contained in:
@@ -1836,7 +1836,6 @@ struct xhci_command *xhci_alloc_command(struct xhci_hcd *xhci,
|
|||||||
INIT_LIST_HEAD(&command->cmd_list);
|
INIT_LIST_HEAD(&command->cmd_list);
|
||||||
return command;
|
return command;
|
||||||
}
|
}
|
||||||
EXPORT_SYMBOL_GPL(xhci_alloc_command);
|
|
||||||
|
|
||||||
struct xhci_command *xhci_alloc_command_with_ctx(struct xhci_hcd *xhci,
|
struct xhci_command *xhci_alloc_command_with_ctx(struct xhci_hcd *xhci,
|
||||||
bool allocate_completion, gfp_t mem_flags)
|
bool allocate_completion, gfp_t mem_flags)
|
||||||
@@ -1870,7 +1869,6 @@ void xhci_free_command(struct xhci_hcd *xhci,
|
|||||||
kfree(command->completion);
|
kfree(command->completion);
|
||||||
kfree(command);
|
kfree(command);
|
||||||
}
|
}
|
||||||
EXPORT_SYMBOL_GPL(xhci_free_command);
|
|
||||||
|
|
||||||
int xhci_alloc_erst(struct xhci_hcd *xhci,
|
int xhci_alloc_erst(struct xhci_hcd *xhci,
|
||||||
struct xhci_ring *evt_ring,
|
struct xhci_ring *evt_ring,
|
||||||
@@ -1901,7 +1899,6 @@ int xhci_alloc_erst(struct xhci_hcd *xhci,
|
|||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
EXPORT_SYMBOL_GPL(xhci_alloc_erst);
|
|
||||||
|
|
||||||
void xhci_free_erst(struct xhci_hcd *xhci, struct xhci_erst *erst)
|
void xhci_free_erst(struct xhci_hcd *xhci, struct xhci_erst *erst)
|
||||||
{
|
{
|
||||||
@@ -1915,7 +1912,6 @@ void xhci_free_erst(struct xhci_hcd *xhci, struct xhci_erst *erst)
|
|||||||
erst->erst_dma_addr);
|
erst->erst_dma_addr);
|
||||||
erst->entries = NULL;
|
erst->entries = NULL;
|
||||||
}
|
}
|
||||||
EXPORT_SYMBOL_GPL(xhci_free_erst);
|
|
||||||
|
|
||||||
static struct xhci_device_context_array *xhci_vendor_alloc_dcbaa(
|
static struct xhci_device_context_array *xhci_vendor_alloc_dcbaa(
|
||||||
struct xhci_hcd *xhci, gfp_t flags)
|
struct xhci_hcd *xhci, gfp_t flags)
|
||||||
|
|||||||
@@ -79,7 +79,6 @@ dma_addr_t xhci_trb_virt_to_dma(struct xhci_segment *seg,
|
|||||||
return 0;
|
return 0;
|
||||||
return seg->dma + (segment_offset * sizeof(*trb));
|
return seg->dma + (segment_offset * sizeof(*trb));
|
||||||
}
|
}
|
||||||
EXPORT_SYMBOL_GPL(xhci_trb_virt_to_dma);
|
|
||||||
|
|
||||||
static bool trb_is_noop(union xhci_trb *trb)
|
static bool trb_is_noop(union xhci_trb *trb)
|
||||||
{
|
{
|
||||||
@@ -312,7 +311,6 @@ void xhci_ring_cmd_db(struct xhci_hcd *xhci)
|
|||||||
/* Flush PCI posted writes */
|
/* Flush PCI posted writes */
|
||||||
readl(&xhci->dba->doorbell[0]);
|
readl(&xhci->dba->doorbell[0]);
|
||||||
}
|
}
|
||||||
EXPORT_SYMBOL_GPL(xhci_ring_cmd_db);
|
|
||||||
|
|
||||||
static bool xhci_mod_cmd_timer(struct xhci_hcd *xhci, unsigned long delay)
|
static bool xhci_mod_cmd_timer(struct xhci_hcd *xhci, unsigned long delay)
|
||||||
{
|
{
|
||||||
@@ -4412,7 +4410,6 @@ int xhci_queue_stop_endpoint(struct xhci_hcd *xhci, struct xhci_command *cmd,
|
|||||||
return queue_command(xhci, cmd, 0, 0, 0,
|
return queue_command(xhci, cmd, 0, 0, 0,
|
||||||
trb_slot_id | trb_ep_index | type | trb_suspend, false);
|
trb_slot_id | trb_ep_index | type | trb_suspend, false);
|
||||||
}
|
}
|
||||||
EXPORT_SYMBOL_GPL(xhci_queue_stop_endpoint);
|
|
||||||
|
|
||||||
int xhci_queue_reset_ep(struct xhci_hcd *xhci, struct xhci_command *cmd,
|
int xhci_queue_reset_ep(struct xhci_hcd *xhci, struct xhci_command *cmd,
|
||||||
int slot_id, unsigned int ep_index,
|
int slot_id, unsigned int ep_index,
|
||||||
|
|||||||
Reference in New Issue
Block a user