Skip to content

Commit 54a4ec4

Browse files
Sergei Shtylyovdavem330
authored andcommitted
ide: fix comment typo in ide.h
Fix typo in the comment to the 'dma_mode' field of the 'struct ide_drive_s' introduced by the commit 3fccaa1 (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]> Signed-off-by: David S. Miller <[email protected]>
1 parent 720fc22 commit 54a4ec4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/linux/ide.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -516,8 +516,8 @@ struct ide_drive_s {
516516
u8 current_speed; /* current transfer rate set */
517517
u8 desired_speed; /* desired transfer rate set */
518518
u8 pio_mode; /* for ->set_pio_mode _only_ */
519-
u8 dma_mode; /* for ->dma_pio_mode _only_ */
520-
u8 dn; /* now wide spread use */
519+
u8 dma_mode; /* for ->set_dma_mode _only_ */
520+
u8 dn; /* now wide spread use */
521521
u8 acoustic; /* acoustic management */
522522
u8 media; /* disk, cdrom, tape, floppy, ... */
523523
u8 ready_stat; /* min status value for drive ready */

0 commit comments

Comments
 (0)