diff mbox

<linux/ide.h>: fix comment typo

Message ID 201004121943.19556.sshtylyov@ru.mvista.com
State Accepted
Delegated to: David Miller
Headers show

Commit Message

Sergei Shtylyov April 12, 2010, 3:43 p.m. UTC
Fix typo in the comment to the 'dma_mode' field of the 'struct ide_drive_s'
introduced by the commit 3fccaa192b9501e79a57e02e62b6bf420d2b461e (ide: add
drive->dma_mode field).

Whilt at it, convert spaces to a tab in the declaration of the neighbouring
'dn' field...

Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>

---
The patch is atop of ide-2.6.git tree...

 include/linux/ide.h |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

--
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Comments

David Miller April 15, 2010, 9:17 a.m. UTC | #1
From: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Date: Mon, 12 Apr 2010 19:43:19 +0400

> Fix typo in the comment to the 'dma_mode' field of the 'struct ide_drive_s'
> introduced by the commit 3fccaa192b9501e79a57e02e62b6bf420d2b461e (ide: add
> drive->dma_mode field).
> 
> Whilt at it, convert spaces to a tab in the declaration of the neighbouring
> 'dn' field...
> 
> Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>

Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

Index: ide-2.6/include/linux/ide.h
===================================================================
--- ide-2.6.orig/include/linux/ide.h
+++ ide-2.6/include/linux/ide.h
@@ -516,8 +516,8 @@  struct ide_drive_s {
         u8	current_speed;	/* current transfer rate set */
 	u8	desired_speed;	/* desired transfer rate set */
 	u8	pio_mode;	/* for ->set_pio_mode _only_ */
-	u8	dma_mode;	/* for ->dma_pio_mode _only_ */
-        u8	dn;		/* now wide spread use */
+	u8	dma_mode;	/* for ->set_dma_mode _only_ */
+	u8	dn;		/* now wide spread use */
 	u8	acoustic;	/* acoustic management */
 	u8	media;		/* disk, cdrom, tape, floppy, ... */
 	u8	ready_stat;	/* min status value for drive ready */