[PATCH] remove bogus con_is_present() prototypes
authorAdrian Bunk <bunk@stusta.de>
Mon, 12 Feb 2007 08:54:59 +0000 (00:54 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Mon, 12 Feb 2007 17:48:41 +0000 (09:48 -0800)
Although gcc seems to accept "extern" prototypes after it has seen the
"static inline" function, that's not really correct.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Cc: "Antonino A. Daplas" <adaplas@pol.net>
Cc: James Simmons <jsimmons@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/video/aty/atyfb_base.c
drivers/video/igafb.c

index f2ebdd880085a6f69183160fa667062e3c499148..93784ceae898f66464fda00d9c26eeec46578ef0 100644 (file)
@@ -2957,8 +2957,6 @@ extern void (*prom_palette) (int);
 static int __devinit atyfb_setup_sparc(struct pci_dev *pdev,
                        struct fb_info *info, unsigned long addr)
 {
-       extern int con_is_present(void);
-
        struct atyfb_par *par = info->par;
        struct pcidev_cookie *pcp;
        char prop[128];
index 655ae0fa99cae55ecac13efe6469908ae8afd619..51355c8885aa278b4310cb5dc0cfcc780c17fba1 100644 (file)
@@ -370,7 +370,6 @@ static int __init iga_init(struct fb_info *info, struct iga_par *par)
 
 int __init igafb_init(void)
 {
-        extern int con_is_present(void);
         struct fb_info *info;
         struct pci_dev *pdev;
         struct iga_par *par;