aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ide/ide-cd.h
diff options
context:
space:
mode:
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2008-02-01 17:09:21 -0500
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2008-02-01 17:09:21 -0500
commit4fe6717862d4977b8e61307a2623ed7739068bdc (patch)
tree58936939f62e8e83fb815d27fcc13f674831e790 /drivers/ide/ide-cd.h
parent3f1b86d89dc73dedda426a85e600ad244ed9fad4 (diff)
ide-cd: kill CDROM_CONFIG_FLAGS() macro
While at it rename 'info' variable to 'cd' in ide_cdrom_probe_capabilities() and ide_cdrom_setup(). Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'drivers/ide/ide-cd.h')
-rw-r--r--drivers/ide/ide-cd.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/ide/ide-cd.h b/drivers/ide/ide-cd.h
index b989c9835174..9e1cee69c0fc 100644
--- a/drivers/ide/ide-cd.h
+++ b/drivers/ide/ide-cd.h
@@ -68,9 +68,7 @@ struct ide_cd_config_flags {
68 __u8 no_speed_select : 1; /* SET_CD_SPEED command is unsupported. */ 68 __u8 no_speed_select : 1; /* SET_CD_SPEED command is unsupported. */
69 byte max_speed; /* Max speed of the drive */ 69 byte max_speed; /* Max speed of the drive */
70}; 70};
71#define CDROM_CONFIG_FLAGS(drive) (&(((struct cdrom_info *)(drive->driver_data))->config_flags))
72 71
73
74/* State flags. These give information about the current state of the 72/* State flags. These give information about the current state of the
75 drive, and will change during normal operation. */ 73 drive, and will change during normal operation. */
76struct ide_cd_state_flags { 74struct ide_cd_state_flags {