[PATCH][TRIVIAL] drivers/video/tdfxfb.c compile failure (Linux 2.5.52)

Gergely Nagy (algernon@bonehunter.rulez.org)
Thu, 19 Dec 2002 19:06:36 +0100


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,

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/