aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/char')
-rw-r--r--drivers/char/nvram.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/nvram.c b/drivers/char/nvram.c
index 197cd7a0c332..a22662b6a1a5 100644
--- a/drivers/char/nvram.c
+++ b/drivers/char/nvram.c
@@ -444,7 +444,7 @@ nvram_init(void)
444 444
445 /* First test whether the driver should init at all */ 445 /* First test whether the driver should init at all */
446 if (!CHECK_DRIVER_INIT()) 446 if (!CHECK_DRIVER_INIT())
447 return -ENXIO; 447 return -ENODEV;
448 448
449 ret = misc_register(&nvram_dev); 449 ret = misc_register(&nvram_dev);
450 if (ret) { 450 if (ret) {