diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-02-01 17:09:21 -0500 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-02-01 17:09:21 -0500 |
commit | 4fe6717862d4977b8e61307a2623ed7739068bdc (patch) | |
tree | 58936939f62e8e83fb815d27fcc13f674831e790 /drivers/ide/ide-cd.h | |
parent | 3f1b86d89dc73dedda426a85e600ad244ed9fad4 (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.h | 2 |
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. */ |
76 | struct ide_cd_state_flags { | 74 | struct ide_cd_state_flags { |