summaryrefslogtreecommitdiffstats
path: root/drivers/parport
diff options
context:
space:
mode:
authorPaulius Zaleckas <pauliusz@yahoo.com>2008-02-03 14:42:53 +0100
committerAdrian Bunk <bunk@kernel.org>2008-02-03 14:42:53 +0100
commitefad798b9f01300565f65058b153250cc49d58f2 (patch)
treef425b1fad94ca5eb384f4df9418450afb163bcae /drivers/parport
parentDocumentation: Clarify when module debugging actually works. (diff)
downloadlinux-efad798b9f01300565f65058b153250cc49d58f2.tar.xz
linux-efad798b9f01300565f65058b153250cc49d58f2.zip
Spelling fixes: lenght->length
Signed-off-by: Paulius Zaleckas <pauliusz@yahoo.com> Signed-off-by: Adrian Bunk <bunk@kernel.org>
Diffstat (limited to 'drivers/parport')
-rw-r--r--drivers/parport/probe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/parport/probe.c b/drivers/parport/probe.c
index 853a15f44f88..cd565bb4e1a9 100644
--- a/drivers/parport/probe.c
+++ b/drivers/parport/probe.c
@@ -163,7 +163,7 @@ static ssize_t parport_read_device_id (struct parport *port, char *buffer,
idlens[1] = idlens[0]+2;
if (belen != lelen) {
int off = 2;
- /* Don't try lenghts of 0x100 and 0x200 as 1 and 2 */
+ /* Don't try lengths of 0x100 and 0x200 as 1 and 2 */
if (idlens[0] <= 2)
off = 0;
idlens[off] = max(belen, lelen);