summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/video/igafb.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/video/igafb.c b/drivers/video/igafb.c
index 15d200109446..c4e6fc0301d4 100644
--- a/drivers/video/igafb.c
+++ b/drivers/video/igafb.c
@@ -531,6 +531,7 @@ int __init igafb_init(void)
iounmap(info->screen_base);
kfree(par->mmap_map);
kfree(info);
+ return -ENODEV;
}
#ifdef CONFIG_SPARC