linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [2.6 patch] remove bogus con_is_present() prototypes
@ 2007-01-06 20:48 Adrian Bunk
  0 siblings, 0 replies; only message in thread
From: Adrian Bunk @ 2007-01-06 20:48 UTC (permalink / raw)
  To: adaplas; +Cc: sparclinux, linux-kernel

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>

---

 drivers/video/aty/atyfb_base.c |    2 --
 drivers/video/igafb.c          |    1 -
 2 files changed, 3 deletions(-)

--- linux-2.6.20-rc3-mm1/drivers/video/igafb.c.old	2007-01-06 19:45:32.000000000 +0100
+++ linux-2.6.20-rc3-mm1/drivers/video/igafb.c	2007-01-06 19:53:06.000000000 +0100
@@ -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;
--- linux-2.6.20-rc3-mm1/drivers/video/aty/atyfb_base.c.old	2007-01-06 20:14:25.000000000 +0100
+++ linux-2.6.20-rc3-mm1/drivers/video/aty/atyfb_base.c	2007-01-06 20:14:32.000000000 +0100
@@ -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];


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-01-06 20:48 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-01-06 20:48 [2.6 patch] remove bogus con_is_present() prototypes Adrian Bunk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).