]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - drivers/video/igafb.c
bnx2x: Change BCM848xx configuration according to IEEE
[mv-sheeva.git] / drivers / video / igafb.c
index 15d200109446aa577f77f0d12d9f2cd66d04f6f2..d885c770eb84598d915ad76e5edc8447d5028b1c 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;