summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMasanari Iida <standby24x7@gmail.com>2013-10-31 10:57:28 +0900
committerJiri Kosina <jkosina@suse.cz>2013-10-31 13:31:39 +0100
commit2bb9936beac2eed0c1ed907f83694bc752e159d9 (patch)
treec72d2f6487288e9e50c3c2095726e19234c6796e
parentebd46f016a30ad4cc766540fe89b0974a0278dba (diff)
downloadop-kernel-dev-2bb9936beac2eed0c1ed907f83694bc752e159d9.zip
op-kernel-dev-2bb9936beac2eed0c1ed907f83694bc752e159d9.tar.gz
doc: usb: Fix typo in Documentation/usb/gadget_configs.txt
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>
-rw-r--r--Documentation/usb/gadget_configfs.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/Documentation/usb/gadget_configfs.txt b/Documentation/usb/gadget_configfs.txt
index 8ec2a67..4cf53e4 100644
--- a/Documentation/usb/gadget_configfs.txt
+++ b/Documentation/usb/gadget_configfs.txt
@@ -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
+----------------------------------+
OpenPOWER on IntegriCloud