diff options
Diffstat (limited to 'drivers/block/ataflop.c')
-rw-r--r-- | drivers/block/ataflop.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/block/ataflop.c b/drivers/block/ataflop.c index 424995073c6b..49f274197b16 100644 --- a/drivers/block/ataflop.c +++ b/drivers/block/ataflop.c | |||
@@ -1880,11 +1880,11 @@ static int __init atari_floppy_init (void) | |||
1880 | 1880 | ||
1881 | if (!MACH_IS_ATARI) | 1881 | if (!MACH_IS_ATARI) |
1882 | /* Amiga, Mac, ... don't have Atari-compatible floppy :-) */ | 1882 | /* Amiga, Mac, ... don't have Atari-compatible floppy :-) */ |
1883 | return -ENXIO; | 1883 | return -ENODEV; |
1884 | 1884 | ||
1885 | if (MACH_IS_HADES) | 1885 | if (MACH_IS_HADES) |
1886 | /* Hades doesn't have Atari-compatible floppy */ | 1886 | /* Hades doesn't have Atari-compatible floppy */ |
1887 | return -ENXIO; | 1887 | return -ENODEV; |
1888 | 1888 | ||
1889 | if (register_blkdev(FLOPPY_MAJOR,"fd")) | 1889 | if (register_blkdev(FLOPPY_MAJOR,"fd")) |
1890 | return -EBUSY; | 1890 | return -EBUSY; |