]> rtime.felk.cvut.cz Git - linux-imx.git/commitdiff
ide: fix comment typo in ide.h
authorSergei Shtylyov <sshtylyov@ru.mvista.com>
Thu, 15 Apr 2010 09:17:25 +0000 (02:17 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 15 Apr 2010 09:17:25 +0000 (02:17 -0700)
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>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/ide.h

index 3239d1c10acb3479a823cbf37651419d1d1a93cf..5acdbe51348a6232b06887f3463a9313d8bd8849 100644 (file)
@@ -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 */