aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert@linux-m68k.org>2008-07-17 15:16:10 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2008-07-20 20:24:38 -0400
commite945b568e28b42de893ef24989372f0219501d32 (patch)
treeb14af0806136067685a96832abcf05b46f99980b /drivers/video
parent038eddd9acf34e8202b31af3ee9eb48179114323 (diff)
m68k: Return -ENODEV if no device is found
According to the tests in do_initcalls(), the proper error code in case no device is found is -ENODEV, not -ENXIO or -EIO. Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/video')
-rw-r--r--drivers/video/atafb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/atafb.c b/drivers/video/atafb.c
index dff35474b854..c8605730a1b0 100644
--- a/drivers/video/atafb.c
+++ b/drivers/video/atafb.c
@@ -3110,7 +3110,7 @@ int __init atafb_init(void)
3110 printk("atafb_init: start\n"); 3110 printk("atafb_init: start\n");
3111 3111
3112 if (!MACH_IS_ATARI) 3112 if (!MACH_IS_ATARI)
3113 return -ENXIO; 3113 return -ENODEV;
3114 3114
3115 do { 3115 do {
3116#ifdef ATAFB_EXT 3116#ifdef ATAFB_EXT