summaryrefslogtreecommitdiff
path: root/drivers/usb/dwc3/core.h
diff options
context:
space:
mode:
authorFelipe Balbi <balbi@ti.com>2012-06-06 13:04:13 +0400
committerFelipe Balbi <balbi@ti.com>2012-06-25 15:00:45 +0400
commitb4996a8631e80a2aaddb5c487ff6b9ad37315f70 (patch)
tree4001dfad7781a59cab6f11f947343dbbc6b36299 /drivers/usb/dwc3/core.h
parentb511e5e76bf488cd3eec1048483a3898393a4dca (diff)
downloadlinux-b4996a8631e80a2aaddb5c487ff6b9ad37315f70.tar.xz
usb: dwc3: rename res_trans_idx to resource_index
resource_index is more human readable. No functional changes. Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/dwc3/core.h')
-rw-r--r--drivers/usb/dwc3/core.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/usb/dwc3/core.h b/drivers/usb/dwc3/core.h
index d3e56cfb29c3..151eca876dfd 100644
--- a/drivers/usb/dwc3/core.h
+++ b/drivers/usb/dwc3/core.h
@@ -404,7 +404,7 @@ struct dwc3_event_buffer {
* @current_trb: index of current used trb
* @number: endpoint number (1 - 15)
* @type: set to bmAttributes & USB_ENDPOINT_XFERTYPE_MASK
- * @res_trans_idx: Resource transfer index
+ * @resource_index: Resource transfer index
* @current_uf: Current uf received through last event parameter
* @interval: the intervall on which the ISOC transfer is started
* @name: a human readable name e.g. ep1out-bulk
@@ -438,7 +438,7 @@ struct dwc3_ep {
u8 number;
u8 type;
- u8 res_trans_idx;
+ u8 resource_index;
u16 current_uf;
u32 interval;