drivers/video/tdfxfb.c compile failure (Linux 2.5.52)
PATCH 1/1 drivers/video/tdfxfb.c compile failure (Linux 2.5.52)
Hi!
drivers/video/tdfxfb.c does not compile, because banshee_wait_idle() is used before declaration. A simple fix follows:
drivers/video/tdfxfb.c renamed from drivers/video/tdfxfb.c.old +1 -0
@@ -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 ,
Thank you. I have other changes as well coming for this driver.
Quoted 26 lines
drivers/video/tdfxfb.cdoes not compile, becausebanshee_wait_idle()is used before declaration. A simple fix follows:drivers/video/tdfxfb.c renamed from drivers/video/tdfxfb.c.old +1
-1@@ -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 [email protected]
https://lists.sourceforge.net/lists/listinfo/linux-fbdev-devel