diff options
author | Dmitry Torokhov <dtor@vmware.com> | 2011-02-08 16:55:59 -0500 |
---|---|---|
committer | Sarah Sharp <sarah.a.sharp@linux.intel.com> | 2011-02-22 20:12:58 -0500 |
commit | 8212a49d1c1e53ad2bc3176b983a2483b48fd989 (patch) | |
tree | 9f9bedbd1be279a1fb8ab14721db07ff80547a76 /drivers/usb/host/xhci-dbg.c | |
parent | c50a00f8feba42c5bccff47e052e4cb0c95dcd2b (diff) |
USB: xhci: mark local functions as static
Functions that are not used outsde of the module they are defined
should be marked as static.
Signed-off-by: Dmitry Torokhov <dtor@vmware.com>
Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>
Diffstat (limited to 'drivers/usb/host/xhci-dbg.c')
-rw-r--r-- | drivers/usb/host/xhci-dbg.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/usb/host/xhci-dbg.c b/drivers/usb/host/xhci-dbg.c index 582937e2132f..0231814a97a5 100644 --- a/drivers/usb/host/xhci-dbg.c +++ b/drivers/usb/host/xhci-dbg.c | |||
@@ -450,7 +450,7 @@ char *xhci_get_slot_state(struct xhci_hcd *xhci, | |||
450 | } | 450 | } |
451 | } | 451 | } |
452 | 452 | ||
453 | void xhci_dbg_slot_ctx(struct xhci_hcd *xhci, struct xhci_container_ctx *ctx) | 453 | static void xhci_dbg_slot_ctx(struct xhci_hcd *xhci, struct xhci_container_ctx *ctx) |
454 | { | 454 | { |
455 | /* Fields are 32 bits wide, DMA addresses are in bytes */ | 455 | /* Fields are 32 bits wide, DMA addresses are in bytes */ |
456 | int field_size = 32 / 8; | 456 | int field_size = 32 / 8; |
@@ -489,7 +489,7 @@ void xhci_dbg_slot_ctx(struct xhci_hcd *xhci, struct xhci_container_ctx *ctx) | |||
489 | dbg_rsvd64(xhci, (u64 *)slot_ctx, dma); | 489 | dbg_rsvd64(xhci, (u64 *)slot_ctx, dma); |
490 | } | 490 | } |
491 | 491 | ||
492 | void xhci_dbg_ep_ctx(struct xhci_hcd *xhci, | 492 | static void xhci_dbg_ep_ctx(struct xhci_hcd *xhci, |
493 | struct xhci_container_ctx *ctx, | 493 | struct xhci_container_ctx *ctx, |
494 | unsigned int last_ep) | 494 | unsigned int last_ep) |
495 | { | 495 | { |