Update of /cvsroot/linuxconsole/ruby/linux/drivers/video
In directory usw-pr-cvs1:/tmp/cvs-serv23609
Modified Files:
q40fb.c
Log Message:
Updates.
Index: q40fb.c
===================================================================
RCS file: /cvsroot/linuxconsole/ruby/linux/drivers/video/q40fb.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- q40fb.c 27 Aug 2001 16:36:15 -0000 1.6
+++ q40fb.c 28 Feb 2002 18:31:50 -0000 1.7
@@ -49,25 +49,18 @@
/* frame buffer operations */
int q40fb_init(void);
-static int q40fb_check_var(struct fb_var_screeninfo *var,struct fb_info *info);
static int q40fb_setcolreg(unsigned regno, unsigned red, unsigned green,
unsigned blue, unsigned transp,
struct fb_info *info);
static struct fb_ops q40fb_ops = {
owner: THIS_MODULE,
- fb_check_var: q40fb_check_var,
fb_setcolreg: q40fb_setcolreg,
fb_fillrect: cfb_fillrect,
fb_copyarea: cfb_copyarea,
fb_imageblit: cfb_imageblit,
};
-static int q40fb_check_var(struct fb_var_screeninfo *var, struct fb_info *info)
-{
- return 0;
-}
-
static int q40fb_setcolreg(unsigned regno, unsigned red, unsigned green,
unsigned blue, unsigned transp,
struct fb_info *info)
@@ -100,7 +93,7 @@
fb_info.var = q40fb_var;
fb_info.fix = q40fb_fix;
- fb_info.node = -1;
+ fb_info.node = NODEV;
fb_info.fbops = &q40fb_ops;
fb_info.flags = FBINFO_FLAG_DEFAULT; /* not as module for now */
fb_info.pseudo_palette = pseudo_palette;
@@ -116,4 +109,6 @@
printk(KERN_INFO "fb%d: Q40 frame buffer alive and kicking !\n",
GET_FB_IDX(fb_info.node));
return 0;
-}
+}
+
+MODULE_LICENSE("GPL");
|