drivers/video/igafb.c: make igafb_setup() and igafb_init() static
[pandora-kernel.git] / drivers / video / igafb.c
index 15d2001..d885c77 100644 (file)
@@ -368,7 +368,7 @@ static int __init iga_init(struct fb_info *info, struct iga_par *par)
        return 1;
 }
 
-int __init igafb_init(void)
+static int __init igafb_init(void)
 {
         struct fb_info *info;
         struct pci_dev *pdev;
@@ -531,6 +531,7 @@ int __init igafb_init(void)
                iounmap(info->screen_base);
                kfree(par->mmap_map);
                kfree(info);
+               return -ENODEV;
         }
 
 #ifdef CONFIG_SPARC
@@ -556,7 +557,7 @@ int __init igafb_init(void)
        return 0;
 }
 
-int __init igafb_setup(char *options)
+static int __init igafb_setup(char *options)
 {
     char *this_opt;