imsttfb warnings in 2.6.0-test4
From: Stephen M. Kenton <hidden>
Date: 2003-09-06 04:15:37
Any reason that imsttfb_load_cursor_image and imstt_set_cursor can not be under the same #if 0 as imsttfb_cursor which used to call them? It gets rid of a couple of defined but not used warnings in 2.6.0-test4 For that matter, is the #if 0 being kept for a particular reason? Untested patch below smk
--- drivers/video/imsttfb.c.ori 2003-09-05 22:34:18.000000000 -0500
+++ drivers/video/imsttfb.c 2003-09-05 22:35:36.000000000 -0500@@ -1084,6 +1084,7 @@ while(read_reg_le32(par->dc_regs, SSTATUS) & 0x40); } +#if 0 static int imsttfb_load_cursor_image(struct imstt_par *par, int width, int height, __u8 fgc) {
@@ -1191,7 +1192,6 @@ } } -#if 0 static int imsttfb_cursor(struct fb_info *info, struct fb_cursor *cursor) { -------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf