From: YAEGASHI T. <t...@ke...> - 2002-06-15 21:30:38
|
At Sat, 15 Jun 2002 14:15:08 -0700 (PDT), Jeremy Drake wrote: > > On Fri, 14 Jun 2002, Andriy Skulysh wrote: > > > This patch is ready to apply into cvs HEAD branch > > or to linux-2.5.x kernel source. > > I am having problems building the HEAD branch, specifically with the > hitfb.c driver. It is trying to deal with fb_info.screen_base which > doesn't seem to exist. Also, there are some errors in mm/memory.c. Any > hints on how to build this would be most appreciated. For hp600_keyb.c and hitfb.c, you'll need these changes. Index: drivers/char/hp600_keyb.c =================================================================== RCS file: /cvsroot/linuxsh/linux/drivers/char/hp600_keyb.c,v retrieving revision 1.1.1.1 diff -u -r1.1.1.1 hp600_keyb.c --- drivers/char/hp600_keyb.c 15 Oct 2001 20:44:57 -0000 1.1.1.1 +++ drivers/char/hp600_keyb.c 15 Jun 2002 21:23:24 -0000 @@ -6,6 +6,7 @@ * HP620 keyboard translation table */ +#include <linux/module.h> #include <linux/kernel.h> #include <linux/sched.h> #include <linux/init.h> Index: drivers/video/hitfb.c =================================================================== RCS file: /cvsroot/linuxsh/linux/drivers/video/hitfb.c,v retrieving revision 1.3 diff -u -r1.3 hitfb.c --- drivers/video/hitfb.c 1 May 2002 01:10:47 -0000 1.3 +++ drivers/video/hitfb.c 15 Jun 2002 21:23:24 -0000 @@ -355,13 +355,13 @@ fb_info.gen.parsize = sizeof(struct hitfb_par); fb_info.gen.fbhw = &hitfb_switch; fb_info.gen.fbhw->detect(); - fb_info.screen_base = (void *)fb_info.hit_videobase; + fb_info.gen.info.screen_base = (void *)fb_info.hit_videobase; fbgen_get_var(&fb_info.disp.var, -1, &fb_info.gen.info); fb_info.disp.var.activate = FB_ACTIVATE_NOW; fbgen_do_set_var(&fb_info.disp.var, 1, &fb_info.gen); fbgen_set_disp(-1, &fb_info.gen); - do_install_cmap(0, &fb_info.gen); + do_install_cmap(0, &fb_info.gen.info); if(register_framebuffer(&fb_info.gen.info)<0) return -EINVAL; -- YAEGASHI Takeshi <t...@ke...> <ta...@ya...> <yae...@do...> |