patch-2.4.0-test6 linux/drivers/video/hitfb.c
Next file: linux/drivers/video/hpfb.c
Previous file: linux/drivers/video/fbmem.c
Back to the patch index
Back to the overall index
- Lines: 32
- Date:
Wed Aug 9 13:59:04 2000
- Orig file:
v2.4.0-test5/linux/drivers/video/hitfb.c
- Orig date:
Thu Jul 27 17:38:01 2000
diff -u --recursive --new-file v2.4.0-test5/linux/drivers/video/hitfb.c linux/drivers/video/hitfb.c
@@ -68,7 +68,6 @@
static struct fb_var_screeninfo default_var;
int hitfb_init(void);
-int hitfb_setup(char*);
static void hitfb_set_par(struct hitfb_par *par, const struct fb_info *info);
static void hitfb_encode_var(struct fb_var_screeninfo *var,
@@ -111,8 +110,10 @@
default:
case 8:
fix->line_length = par->x;
+ break;
case 16:
fix->line_length = par->x*2;
+ break;
}
return 0;
@@ -335,12 +336,6 @@
void hitfb_cleanup(struct fb_info *info)
{
unregister_framebuffer(info);
-}
-
-
-int __init hitfb_setup(char *options)
-{
- return 0;
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)