aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ide
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ide')
-rw-r--r--drivers/ide/ide-cd.c2
-rw-r--r--drivers/ide/ide-cd.h2
2 files changed, 1 insertions, 3 deletions
diff --git a/drivers/ide/ide-cd.c b/drivers/ide/ide-cd.c
index d163e6571e09..4528e25f2bbb 100644
--- a/drivers/ide/ide-cd.c
+++ b/drivers/ide/ide-cd.c
@@ -213,7 +213,7 @@ static void cdrom_queue_request_sense(ide_drive_t *drive, void *sense,
213 struct request *failed_command) 213 struct request *failed_command)
214{ 214{
215 struct cdrom_info *info = drive->driver_data; 215 struct cdrom_info *info = drive->driver_data;
216 struct request *rq = &info->request_sense_request; 216 struct request *rq = &drive->request_sense_rq;
217 217
218 ide_debug_log(IDE_DBG_SENSE, "enter"); 218 ide_debug_log(IDE_DBG_SENSE, "enter");
219 219
diff --git a/drivers/ide/ide-cd.h b/drivers/ide/ide-cd.h
index 3b77dd735088..1d97101099ce 100644
--- a/drivers/ide/ide-cd.h
+++ b/drivers/ide/ide-cd.h
@@ -91,8 +91,6 @@ struct cdrom_info {
91 on this device. */ 91 on this device. */
92 struct request_sense sense_data; 92 struct request_sense sense_data;
93 93
94 struct request request_sense_request;
95
96 u8 max_speed; /* Max speed of the drive. */ 94 u8 max_speed; /* Max speed of the drive. */
97 u8 current_speed; /* Current speed of the drive. */ 95 u8 current_speed; /* Current speed of the drive. */
98 96