aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/cdrom/cdrom.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/cdrom/cdrom.c')
-rw-r--r--drivers/cdrom/cdrom.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/cdrom/cdrom.c b/drivers/cdrom/cdrom.c
index 82c7d212409c..fbcf4b3f8d0e 100644
--- a/drivers/cdrom/cdrom.c
+++ b/drivers/cdrom/cdrom.c
@@ -393,7 +393,7 @@ int register_cdrom(struct cdrom_device_info *cdi)
393 cdinfo(CD_OPEN, "entering register_cdrom\n"); 393 cdinfo(CD_OPEN, "entering register_cdrom\n");
394 394
395 if (cdo->open == NULL || cdo->release == NULL) 395 if (cdo->open == NULL || cdo->release == NULL)
396 return -2; 396 return -EINVAL;
397 if (!banner_printed) { 397 if (!banner_printed) {
398 printk(KERN_INFO "Uniform CD-ROM driver " REVISION "\n"); 398 printk(KERN_INFO "Uniform CD-ROM driver " REVISION "\n");
399 banner_printed = 1; 399 banner_printed = 1;