summaryrefslogtreecommitdiffstats
path: root/include/linux/ide.h
diff options
context:
space:
mode:
authorSergei Shtylyov <sshtylyov@ru.mvista.com>2010-04-15 02:17:25 -0700
committerDavid S. Miller <davem@davemloft.net>2010-04-15 02:17:25 -0700
commit54a4ec469dd6067f0b604bef8ca01a2b1fdb4dcd (patch)
tree369913b0217f0e55e42cd5d9a3b7e46d73a20c3c /include/linux/ide.h
parent720fc22a7af79d91ec460c80efa92c65c12d105e (diff)
downloadop-kernel-dev-54a4ec469dd6067f0b604bef8ca01a2b1fdb4dcd.zip
op-kernel-dev-54a4ec469dd6067f0b604bef8ca01a2b1fdb4dcd.tar.gz
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 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>
Diffstat (limited to 'include/linux/ide.h')
-rw-r--r--include/linux/ide.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/ide.h b/include/linux/ide.h
index 3239d1c..5acdbe5 100644
--- a/include/linux/ide.h
+++ b/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 */
OpenPOWER on IntegriCloud