]> Pileus Git - ~andy/linux/commitdiff
doc: usb: Fix typo in Documentation/usb/gadget_configs.txt
authorMasanari Iida <standby24x7@gmail.com>
Thu, 31 Oct 2013 01:57:28 +0000 (10:57 +0900)
committerJiri Kosina <jkosina@suse.cz>
Thu, 31 Oct 2013 12:31:39 +0000 (13:31 +0100)
Correct spelling typo in Documentation/usb/gadget_configs.txt

Signed-off-by: Masanari Iida <standby24x7@gmail.com>
Acked-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Documentation/usb/gadget_configfs.txt

index 8ec2a67c39b7c6a1114e75563fd980717155103f..4cf53e40661392438cf54d0edda07c87f0ac8e4f 100644 (file)
@@ -26,7 +26,7 @@ Linux provides a number of functions for gadgets to use.
 Creating a gadget means deciding what configurations there will be
 and which functions each configuration will provide.
 
-Configfs (please see Documentation/filesystems/configfs/*) lends itslef nicely
+Configfs (please see Documentation/filesystems/configfs/*) lends itself nicely
 for the purpose of telling the kernel about the above mentioned decision.
 This document is about how to do it.
 
@@ -99,7 +99,7 @@ directories must be created:
 $ mkdir configs/<name>.<number>
 
 where <name> can be any string which is legal in a filesystem and the
-<numebr> is the configuration's number, e.g.:
+<number> is the configuration's number, e.g.:
 
 $ mkdir configs/c.1
 
@@ -327,7 +327,7 @@ from the buffer to the cs), but it is up to the implementer of the
 two functions to decide what they actually do.
 
 typedef struct configured_structure cs;
-typedef struc specific_attribute sa;
+typedef struct specific_attribute sa;
 
                                        sa
                        +----------------------------------+