Skip to contentSkip to conversation

remove bogus con_is_present() prototypes

PATCH New Adrian Bunk 1 participant 1 message Jan 6, 2007 Framebuffer layer

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 remove bogus con_is_present() prototypes

Although gcc seems to accept "extern" prototypes after it has seen the "static inline" function, that's not really correct.

---

 drivers/video/aty/atyfb_base.c |    2 --
 drivers/video/igafb.c          |    1 -
 2 files changed, 3 deletions(-)
drivers/video/igafb.c renamed from drivers/video/igafb.c.old +0 -1
@@ -370,7 +370,6 @@
 
 int __init igafb_init(void)
 {
-        extern int con_is_present(void);
         struct fb_info *info;
         struct pci_dev *pdev;
         struct iga_par *par;
drivers/video/aty/atyfb_base.c renamed from drivers/video/aty/atyfb_base.c.old +0 -2
@@ -2957,8 +2957,6 @@
 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];