]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/char/nvram.c
m68k: Return -ENODEV if no device is found
[linux-2.6-omap-h63xx.git] / drivers / char / nvram.c
index 197cd7a0c33267d9f1becd4b61b8724ac728e804..a22662b6a1a50fc6aa25f7a000d619abd7ba1bc7 100644 (file)
@@ -444,7 +444,7 @@ nvram_init(void)
 
        /* First test whether the driver should init at all */
        if (!CHECK_DRIVER_INIT())
-               return -ENXIO;
+               return -ENODEV;
 
        ret = misc_register(&nvram_dev);
        if (ret) {