[2.6 patch] drivers/video/intelfb/: fix a warning

From: Adrian Bunk
Date: Sat Mar 12 2005 - 12:32:00 EST


It seems I'm at least partially guilty for the following warning coming
from Linus' tree:

<-- snip -->

...
CC [M] drivers/video/intelfb/intelfbdrv.o
drivers/video/intelfb/intelfbdrv.h:31: warning: 'intelfb_setup' declared `static' but never defined
...

<-- snip -->


The fix is simple.

Signed-off-by: Adrian Bunk <bunk@xxxxxxxxx>

--- linux-2.6.11-mm3-full/drivers/video/intelfb/intelfbdrv.h.old 2005-03-12 17:51:06.000000000 +0100
+++ linux-2.6.11-mm3-full/drivers/video/intelfb/intelfbdrv.h 2005-03-12 17:51:20.000000000 +0100
@@ -28,7 +28,6 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/

-static int __init intelfb_setup(char *options);
static void __devinit get_initial_mode(struct intelfb_info *dinfo);
static void update_dinfo(struct intelfb_info *dinfo,
struct fb_var_screeninfo *var);

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