summaryrefslogtreecommitdiff
path: root/packages/linux/linux-rp-2.6.23/w100fb-unused-var.patch
diff options
context:
space:
mode:
Diffstat (limited to 'packages/linux/linux-rp-2.6.23/w100fb-unused-var.patch')
-rw-r--r--packages/linux/linux-rp-2.6.23/w100fb-unused-var.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/packages/linux/linux-rp-2.6.23/w100fb-unused-var.patch b/packages/linux/linux-rp-2.6.23/w100fb-unused-var.patch
new file mode 100644
index 0000000000..8cbbb6bd01
--- /dev/null
+++ b/packages/linux/linux-rp-2.6.23/w100fb-unused-var.patch
@@ -0,0 +1,17 @@
+From: Marcin Juszkiewicz <openembedded@haerwu.biz>
+
+drivers/video/w100fb.c: In function ‘w100fb_imageblit’:
+drivers/video/w100fb.c:507: warning: unused variable ‘par’
+
+Signed-off-by: Marcin Juszkiewicz <openembedded@haerwu.biz>
+
+--- linux-2.6.23/drivers/video/w100fb.c 2007-10-11 16:52:30.000000000 +0200
++++ linux-2.6.23/drivers/video/w100fb.c 2007-10-15 12:56:01.000000000 +0200
+@@ -504,7 +504,6 @@ static void w100_hostdata(u32 width, u32
+ static void w100fb_imageblit(struct fb_info *info,
+ const struct fb_image *image)
+ {
+- struct w100fb_par *par = info->par;
+ union dp_gui_master_cntl_u gmc;
+ u32 fgcolor, bgcolor;
+