summaryrefslogtreecommitdiffstats
path: root/drivers/ide/ide-cd.h
diff options
context:
space:
mode:
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2008-02-01 23:09:21 +0100
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2008-02-01 23:09:21 +0100
commit4fe6717862d4977b8e61307a2623ed7739068bdc (patch)
tree58936939f62e8e83fb815d27fcc13f674831e790 /drivers/ide/ide-cd.h
parent3f1b86d89dc73dedda426a85e600ad244ed9fad4 (diff)
downloadop-kernel-dev-4fe6717862d4977b8e61307a2623ed7739068bdc.zip
op-kernel-dev-4fe6717862d4977b8e61307a2623ed7739068bdc.tar.gz
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 b989c98..9e1cee6 100644
--- a/drivers/ide/ide-cd.h
+++ b/drivers/ide/ide-cd.h
@@ -68,9 +68,7 @@ struct ide_cd_config_flags {
__u8 no_speed_select : 1; /* SET_CD_SPEED command is unsupported. */
byte max_speed; /* Max speed of the drive */
};
-#define CDROM_CONFIG_FLAGS(drive) (&(((struct cdrom_info *)(drive->driver_data))->config_flags))
-
/* State flags. These give information about the current state of the
drive, and will change during normal operation. */
struct ide_cd_state_flags {
OpenPOWER on IntegriCloud