<linux/ide.h>: fix comment typo
PATCH 1/1 <linux/ide.h>: fix comment typo
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 <[email protected]>
---
The patch is atop of ide-2.6.git tree...
include/linux/ide.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
include/linux/ide.h +2 -2
@@ -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 */
David Miller
AppliedFrom: Sergei Shtylyov <[email protected]>
Date: Mon, 12 Apr 2010 19:43:19 +0400
Quoted 8 lines
Fix typo in the comment to the '
dma_mode' field of the 'structide_drive_s' introduced by the commit3fccaa192b9501e79a57e02e62b6bf420d2b461e(ide: adddrive->dma_modefield).Whilt at it, convert spaces to a tab in the declaration of the neighbouring 'dn' field...
Signed-off-by Sergei Shtylyov <[email protected]>
Applied, thanks.