Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Thu, 19 Dec 2002 12:58:24 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Thu, 19 Dec 2002 12:58:24 -0500 Received: from pool-205.gatesgroup.hu ([195.56.144.205]:12044 "EHLO feanor.csopa.hu") by vger.kernel.org with ESMTP id ; Thu, 19 Dec 2002 12:58:23 -0500 Date: Thu, 19 Dec 2002 19:06:36 +0100 Message-ID: <83fzstnas3.wl@iluvatar.ath.cx> From: Gergely Nagy To: linux-fbdev-devel@lists.sourceforge.net, linux-kernel@vger.kernel.org Subject: [PATCH][TRIVIAL] drivers/video/tdfxfb.c compile failure (Linux 2.5.52) User-Agent: Wanderlust/2.9.15 (Unchained Melody) Emacs/21.2 Mule/5.0 (SAKAKI) X-Fortune: BOFH excuse #374: It's the InterNIC's fault. X-Marvin: Life, loathe it or ignore it, you can't like it. MIME-Version: 1.0 (generated by SEMI 1.14.4 - "Hosorogi") Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 904 Lines: 21 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/