aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ide/ide-cd.c
diff options
context:
space:
mode:
authorBorislav Petkov <petkovbb@gmail.com>2009-01-27 11:42:28 -0500
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2009-03-27 07:46:24 -0400
commit3f2154d7e701a8a4791de95765314219caa533a2 (patch)
treeb520633b87e25b192a2076f3f2ac1ef0e092f019 /drivers/ide/ide-cd.c
parent13b8860d102de3daa4a4bf23542495b507edd7e9 (diff)
ide-cd: use ide_drive_t's rq in cdrom_queue_request_sense
There should be no functionality change resulting from this patch. Suggested-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> Signed-off-by: Borislav Petkov <petkovbb@gmail.com> Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'drivers/ide/ide-cd.c')
-rw-r--r--drivers/ide/ide-cd.c2
1 files changed, 1 insertions, 1 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