diff options
author | Sarah Sharp <sarah.a.sharp@linux.intel.com> | 2010-07-30 01:12:46 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-08-10 17:35:44 -0400 |
commit | d6d98a4d8d2411bca7e15d9c0796bf3bc30c3f21 (patch) | |
tree | a66fae1b8883e6d93baab07390e2fa8c044c9e78 /drivers/usb | |
parent | 27e0dd4d7ccc3e8e2a79600c3608031022a2298c (diff) |
USB: xhci: Make xhci_handle_event() static.
xhci_handle_event() is now only called from within xhci-ring.c, so make it
static.
Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb')
-rw-r--r-- | drivers/usb/host/xhci-ring.c | 2 | ||||
-rw-r--r-- | drivers/usb/host/xhci.h | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/drivers/usb/host/xhci-ring.c b/drivers/usb/host/xhci-ring.c index eb4b10229a05..3b962ba5ef08 100644 --- a/drivers/usb/host/xhci-ring.c +++ b/drivers/usb/host/xhci-ring.c | |||
@@ -1964,7 +1964,7 @@ cleanup: | |||
1964 | * This function handles all OS-owned events on the event ring. It may drop | 1964 | * This function handles all OS-owned events on the event ring. It may drop |
1965 | * xhci->lock between event processing (e.g. to pass up port status changes). | 1965 | * xhci->lock between event processing (e.g. to pass up port status changes). |
1966 | */ | 1966 | */ |
1967 | void xhci_handle_event(struct xhci_hcd *xhci) | 1967 | static void xhci_handle_event(struct xhci_hcd *xhci) |
1968 | { | 1968 | { |
1969 | union xhci_trb *event; | 1969 | union xhci_trb *event; |
1970 | int update_ptrs = 1; | 1970 | int update_ptrs = 1; |
diff --git a/drivers/usb/host/xhci.h b/drivers/usb/host/xhci.h index 6d829c41d963..25e108e981fa 100644 --- a/drivers/usb/host/xhci.h +++ b/drivers/usb/host/xhci.h | |||
@@ -1400,7 +1400,6 @@ struct xhci_segment *trb_in_td(struct xhci_segment *start_seg, | |||
1400 | int xhci_is_vendor_info_code(struct xhci_hcd *xhci, unsigned int trb_comp_code); | 1400 | int xhci_is_vendor_info_code(struct xhci_hcd *xhci, unsigned int trb_comp_code); |
1401 | void xhci_ring_cmd_db(struct xhci_hcd *xhci); | 1401 | void xhci_ring_cmd_db(struct xhci_hcd *xhci); |
1402 | void *xhci_setup_one_noop(struct xhci_hcd *xhci); | 1402 | void *xhci_setup_one_noop(struct xhci_hcd *xhci); |
1403 | void xhci_handle_event(struct xhci_hcd *xhci); | ||
1404 | void xhci_set_hc_event_deq(struct xhci_hcd *xhci); | 1403 | void xhci_set_hc_event_deq(struct xhci_hcd *xhci); |
1405 | int xhci_queue_slot_control(struct xhci_hcd *xhci, u32 trb_type, u32 slot_id); | 1404 | int xhci_queue_slot_control(struct xhci_hcd *xhci, u32 trb_type, u32 slot_id); |
1406 | int xhci_queue_address_device(struct xhci_hcd *xhci, dma_addr_t in_ctx_ptr, | 1405 | int xhci_queue_address_device(struct xhci_hcd *xhci, dma_addr_t in_ctx_ptr, |