aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ide/ide-cd.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ide/ide-cd.c')
-rw-r--r--drivers/ide/ide-cd.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/ide/ide-cd.c b/drivers/ide/ide-cd.c
index e4d55ad32d2f..9b2ebd219ad0 100644
--- a/drivers/ide/ide-cd.c
+++ b/drivers/ide/ide-cd.c
@@ -2895,6 +2895,8 @@ static int ide_cdrom_register (ide_drive_t *drive, int nslots)
2895 devinfo->mask |= CDC_CLOSE_TRAY; 2895 devinfo->mask |= CDC_CLOSE_TRAY;
2896 if (!CDROM_CONFIG_FLAGS(drive)->mo_drive) 2896 if (!CDROM_CONFIG_FLAGS(drive)->mo_drive)
2897 devinfo->mask |= CDC_MO_DRIVE; 2897 devinfo->mask |= CDC_MO_DRIVE;
2898 if (!CDROM_CONFIG_FLAGS(drive)->ram)
2899 devinfo->mask |= CDC_RAM;
2898 2900
2899 devinfo->disk = info->disk; 2901 devinfo->disk = info->disk;
2900 return register_cdrom(devinfo); 2902 return register_cdrom(devinfo);