aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2007-02-12 03:54:59 -0500
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-02-12 12:48:41 -0500
commit3a0991029b577125ac5b3eedbe366320c581d8d6 (patch)
tree3d4f4f83cb1005fb907a42906724ffd0796a7688 /drivers
parentfef459028bd842dde21bf55f83d6399b963f9911 (diff)
[PATCH] 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. 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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/video/aty/atyfb_base.c2
-rw-r--r--drivers/video/igafb.c1
2 files changed, 0 insertions, 3 deletions
diff --git a/drivers/video/aty/atyfb_base.c b/drivers/video/aty/atyfb_base.c
index f2ebdd880085..93784ceae898 100644
--- a/drivers/video/aty/atyfb_base.c
+++ b/drivers/video/aty/atyfb_base.c
@@ -2957,8 +2957,6 @@ extern void (*prom_palette) (int);
2957static int __devinit atyfb_setup_sparc(struct pci_dev *pdev, 2957static int __devinit atyfb_setup_sparc(struct pci_dev *pdev,
2958 struct fb_info *info, unsigned long addr) 2958 struct fb_info *info, unsigned long addr)
2959{ 2959{
2960 extern int con_is_present(void);
2961
2962 struct atyfb_par *par = info->par; 2960 struct atyfb_par *par = info->par;
2963 struct pcidev_cookie *pcp; 2961 struct pcidev_cookie *pcp;
2964 char prop[128]; 2962 char prop[128];
diff --git a/drivers/video/igafb.c b/drivers/video/igafb.c
index 655ae0fa99ca..51355c8885aa 100644
--- a/drivers/video/igafb.c
+++ b/drivers/video/igafb.c
@@ -370,7 +370,6 @@ static int __init iga_init(struct fb_info *info, struct iga_par *par)
370 370
371int __init igafb_init(void) 371int __init igafb_init(void)
372{ 372{
373 extern int con_is_present(void);
374 struct fb_info *info; 373 struct fb_info *info;
375 struct pci_dev *pdev; 374 struct pci_dev *pdev;
376 struct iga_par *par; 375 struct iga_par *par;