diff options
| author | Masanari Iida <standby24x7@gmail.com> | 2015-03-10 09:37:46 -0400 |
|---|---|---|
| committer | Felipe Balbi <balbi@ti.com> | 2015-03-11 11:19:35 -0400 |
| commit | 06ed0de5188c9ef6553b2824b6cdd767ad46ece5 (patch) | |
| tree | 2dd97a441b2e5770c76bd3e5704753f6c60af2dd /drivers/usb/gadget | |
| parent | 33c300cb90a6c0072507a949f78c4728238a81f0 (diff) | |
usb: gadget: Fix typo fond in Documentation/Docbook/gadget.xml
This patch fix some spelling typo found in gadget.xml.
It is because this file is generated from comments in sources,
I had to fix comments in the source, instead of xml file itself.
Signed-off-by: Masanari Iida <standby24x7@gmail.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/gadget')
| -rw-r--r-- | drivers/usb/gadget/composite.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/usb/gadget/composite.c b/drivers/usb/gadget/composite.c index 4d25e11b1f72..4e3447bbd097 100644 --- a/drivers/usb/gadget/composite.c +++ b/drivers/usb/gadget/composite.c | |||
| @@ -1161,11 +1161,11 @@ static struct usb_gadget_string_container *copy_gadget_strings( | |||
| 1161 | * This function will create a deep copy of usb_gadget_strings and usb_string | 1161 | * This function will create a deep copy of usb_gadget_strings and usb_string |
| 1162 | * and attach it to the cdev. The actual string (usb_string.s) will not be | 1162 | * and attach it to the cdev. The actual string (usb_string.s) will not be |
| 1163 | * copied but only a referenced will be made. The struct usb_gadget_strings | 1163 | * copied but only a referenced will be made. The struct usb_gadget_strings |
| 1164 | * array may contain multiple languges and should be NULL terminated. | 1164 | * array may contain multiple languages and should be NULL terminated. |
| 1165 | * The ->language pointer of each struct usb_gadget_strings has to contain the | 1165 | * The ->language pointer of each struct usb_gadget_strings has to contain the |
| 1166 | * same amount of entries. | 1166 | * same amount of entries. |
| 1167 | * For instance: sp[0] is en-US, sp[1] is es-ES. It is expected that the first | 1167 | * For instance: sp[0] is en-US, sp[1] is es-ES. It is expected that the first |
| 1168 | * usb_string entry of es-ES containts the translation of the first usb_string | 1168 | * usb_string entry of es-ES contains the translation of the first usb_string |
| 1169 | * entry of en-US. Therefore both entries become the same id assign. | 1169 | * entry of en-US. Therefore both entries become the same id assign. |
| 1170 | */ | 1170 | */ |
| 1171 | struct usb_string *usb_gstrings_attach(struct usb_composite_dev *cdev, | 1171 | struct usb_string *usb_gstrings_attach(struct usb_composite_dev *cdev, |
