lkml.org 
[lkml]   [2003]   [Sep]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
SubjectRe: Unable to build tgafb.c in 2.6.0-test5 due to undefined color_table
Date
> I was trying to compile the tga framebuffer driver but there was a > compiler error saying that color_table was not defined. I grepped 
> through the drivers/video and include/video directories and did not > find a declaration. Was there a header file not included or code
> missing from the driver?

This should fix the problem.

Alexey

diff -urN a/drivers/video/tgafb.c b/drivers/video/tgafb.c
--- a/drivers/video/tgafb.c 2003-09-08 23:50:16.000000000 +0400
+++ b/drivers/video/tgafb.c 2003-09-16 13:46:46.000000000 +0400
@@ -22,6 +22,7 @@
#include <linux/delay.h>
#include <linux/init.h>
#include <linux/fb.h>
+#include <linux/selection.h>
#include <linux/pci.h>
#include <asm/io.h>
#include <video/tgafb.h>
-
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/

\
 
 \ /
  Last update: 2005-03-22 13:48    [W:0.024 / U:1.180 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site