diff options
author | Sarah Sharp <sarah.a.sharp@linux.intel.com> | 2009-04-29 22:05:20 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-06-16 00:44:50 -0400 |
commit | 23e3be113f42790736319c049c78e5f9a4394c02 (patch) | |
tree | bdbc5fe6350d60202ed04e70a756cade8c92c596 /drivers/usb/host/xhci-mem.c | |
parent | 06e7a1487b61e1ae909c4a4c264b4428c55beb7e (diff) |
USB: xhci: Avoid global namespace pollution.
Make all globally visible functions start with xhci_ and mark functions as
static if they're only called within the same C file. Fix some long lines
while we're at it.
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/host/xhci-mem.c')
-rw-r--r-- | drivers/usb/host/xhci-mem.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/host/xhci-mem.c b/drivers/usb/host/xhci-mem.c index 6523e399fe73..f49f280cfd43 100644 --- a/drivers/usb/host/xhci-mem.c +++ b/drivers/usb/host/xhci-mem.c | |||
@@ -746,7 +746,7 @@ int xhci_mem_init(struct xhci_hcd *xhci, gfp_t flags) | |||
746 | xhci_writel(xhci, 0, &xhci->ir_set->erst_base[1]); | 746 | xhci_writel(xhci, 0, &xhci->ir_set->erst_base[1]); |
747 | 747 | ||
748 | /* Set the event ring dequeue address */ | 748 | /* Set the event ring dequeue address */ |
749 | set_hc_event_deq(xhci); | 749 | xhci_set_hc_event_deq(xhci); |
750 | xhci_dbg(xhci, "Wrote ERST address to ir_set 0.\n"); | 750 | xhci_dbg(xhci, "Wrote ERST address to ir_set 0.\n"); |
751 | xhci_print_ir_set(xhci, xhci->ir_set, 0); | 751 | xhci_print_ir_set(xhci, xhci->ir_set, 0); |
752 | 752 | ||