diff options
Diffstat (limited to 'arch/tile/include/gxio/usb_host.h')
-rw-r--r-- | arch/tile/include/gxio/usb_host.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/tile/include/gxio/usb_host.h b/arch/tile/include/gxio/usb_host.h index 5eedec0e988e..93c9636d2dd7 100644 --- a/arch/tile/include/gxio/usb_host.h +++ b/arch/tile/include/gxio/usb_host.h | |||
@@ -53,7 +53,7 @@ typedef struct { | |||
53 | * @return Zero if the context was successfully initialized, else a | 53 | * @return Zero if the context was successfully initialized, else a |
54 | * GXIO_ERR_xxx error code. | 54 | * GXIO_ERR_xxx error code. |
55 | */ | 55 | */ |
56 | extern int gxio_usb_host_init(gxio_usb_host_context_t * context, int usb_index, | 56 | extern int gxio_usb_host_init(gxio_usb_host_context_t *context, int usb_index, |
57 | int is_ehci); | 57 | int is_ehci); |
58 | 58 | ||
59 | /* Destroy a USB context. | 59 | /* Destroy a USB context. |
@@ -68,20 +68,20 @@ extern int gxio_usb_host_init(gxio_usb_host_context_t * context, int usb_index, | |||
68 | * @return Zero if the context was successfully destroyed, else a | 68 | * @return Zero if the context was successfully destroyed, else a |
69 | * GXIO_ERR_xxx error code. | 69 | * GXIO_ERR_xxx error code. |
70 | */ | 70 | */ |
71 | extern int gxio_usb_host_destroy(gxio_usb_host_context_t * context); | 71 | extern int gxio_usb_host_destroy(gxio_usb_host_context_t *context); |
72 | 72 | ||
73 | /* Retrieve the address of the shim's MMIO registers. | 73 | /* Retrieve the address of the shim's MMIO registers. |
74 | * | 74 | * |
75 | * @param context Pointer to a properly initialized gxio_usb_host_context_t. | 75 | * @param context Pointer to a properly initialized gxio_usb_host_context_t. |
76 | * @return The address of the shim's MMIO registers. | 76 | * @return The address of the shim's MMIO registers. |
77 | */ | 77 | */ |
78 | extern void *gxio_usb_host_get_reg_start(gxio_usb_host_context_t * context); | 78 | extern void *gxio_usb_host_get_reg_start(gxio_usb_host_context_t *context); |
79 | 79 | ||
80 | /* Retrieve the length of the shim's MMIO registers. | 80 | /* Retrieve the length of the shim's MMIO registers. |
81 | * | 81 | * |
82 | * @param context Pointer to a properly initialized gxio_usb_host_context_t. | 82 | * @param context Pointer to a properly initialized gxio_usb_host_context_t. |
83 | * @return The length of the shim's MMIO registers. | 83 | * @return The length of the shim's MMIO registers. |
84 | */ | 84 | */ |
85 | extern size_t gxio_usb_host_get_reg_len(gxio_usb_host_context_t * context); | 85 | extern size_t gxio_usb_host_get_reg_len(gxio_usb_host_context_t *context); |
86 | 86 | ||
87 | #endif /* _GXIO_USB_H_ */ | 87 | #endif /* _GXIO_USB_H_ */ |