linux-fbdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH][TRIVIAL] drivers/video/tdfxfb.c compile failure (Linux 2.5.52)
@ 2002-12-19 18:06 Gergely Nagy
  2002-12-20 18:16 ` [Linux-fbdev-devel] " James Simmons
  0 siblings, 1 reply; 2+ messages in thread
From: Gergely Nagy @ 2002-12-19 18:06 UTC (permalink / raw)
  To: linux-fbdev-devel, linux-kernel

Hi!

drivers/video/tdfxfb.c does not compile, because banshee_wait_idle()
is used before declaration. A simple fix follows:

--- linux-2.5.52/drivers/video/tdfxfb.c.old	2002-12-19 18:55:03.000000000 +0100
+++ linux-2.5.52/drivers/video/tdfxfb.c	2002-12-19 18:56:25.000000000 +0100
@@ -166,6 +166,7 @@
 static void tdfxfb_copyarea(struct fb_info *info, struct fb_copyarea *area);  
 static void tdfxfb_imageblit(struct fb_info *info, struct fb_image *image); 
 static int tdfxfb_cursor(struct fb_info *info, struct fb_cursor *cursor);
+static inline void banshee_wait_idle(struct fb_info *info);
 
 static struct fb_ops tdfxfb_ops = {
 	.owner		= THIS_MODULE,

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Linux-fbdev-devel] [PATCH][TRIVIAL] drivers/video/tdfxfb.c compile failure (Linux 2.5.52)
  2002-12-19 18:06 [PATCH][TRIVIAL] drivers/video/tdfxfb.c compile failure (Linux 2.5.52) Gergely Nagy
@ 2002-12-20 18:16 ` James Simmons
  0 siblings, 0 replies; 2+ messages in thread
From: James Simmons @ 2002-12-20 18:16 UTC (permalink / raw)
  To: Gergely Nagy; +Cc: linux-fbdev-devel, linux-kernel


Thank you. I have other changes as well coming for this driver.


> 
> drivers/video/tdfxfb.c does not compile, because banshee_wait_idle()
> is used before declaration. A simple fix follows:
> 
> --- linux-2.5.52/drivers/video/tdfxfb.c.old	2002-12-19 18:55:03.000000000 +0100
> +++ linux-2.5.52/drivers/video/tdfxfb.c	2002-12-19 18:56:25.000000000 +0100
> @@ -166,6 +166,7 @@
>  static void tdfxfb_copyarea(struct fb_info *info, struct fb_copyarea *area);  
>  static void tdfxfb_imageblit(struct fb_info *info, struct fb_image *image); 
>  static int tdfxfb_cursor(struct fb_info *info, struct fb_cursor *cursor);
> +static inline void banshee_wait_idle(struct fb_info *info);
>  
>  static struct fb_ops tdfxfb_ops = {
>  	.owner		= THIS_MODULE,
> 
> 
> 
> -------------------------------------------------------
> This SF.NET email is sponsored by: Geek Gift Procrastinating?
> Get the perfect geek gift now!  Before the Holidays pass you by.
> T H I N K G E E K . C O M      http://www.thinkgeek.com/sf/
> _______________________________________________
> Linux-fbdev-devel mailing list
> Linux-fbdev-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/linux-fbdev-devel
> 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-12-20 18:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-12-19 18:06 [PATCH][TRIVIAL] drivers/video/tdfxfb.c compile failure (Linux 2.5.52) Gergely Nagy
2002-12-20 18:16 ` [Linux-fbdev-devel] " James Simmons

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).