Re: 2.6.24-rc3-mm2 Build Failure at imacfb framebuffer driver
From: Andrew Morton
Date: Wed Nov 28 2007 - 13:56:44 EST
On Wed, 28 Nov 2007 18:37:13 +0530 Kamalesh Babulal <kamalesh@xxxxxxxxxxxxxxxxxx> wrote:
> Hi Andrew,
>
> The kernel build fails, with following error
>
> CC drivers/video/imacfb.o
> drivers/video/imacfb.c: In function âimacfb_probeâ:
> drivers/video/imacfb.c:238: error: âstruct screen_infoâ has no member named âimacpm_segâ
> make[2]: *** [drivers/video/imacfb.o] Error 1
> make[1]: *** [drivers/video] Error 2
> make: *** [drivers] Error 2
>
That's an easy fix...
From: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
Cc: Edgar Hucek <hostmaster@xxxxxxxxxx>
Cc: "Antonino A. Daplas" <adaplas@xxxxxxx>
Cc: Kamalesh Babulal <kamalesh@xxxxxxxxxxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---
drivers/video/imacfb.c | 4 ----
1 file changed, 4 deletions(-)
diff -puN drivers/video/imacfb.c~a drivers/video/imacfb.c
--- a/drivers/video/imacfb.c~a
+++ a/drivers/video/imacfb.c
@@ -234,10 +234,6 @@ static int __init imacfb_probe(struct pl
size_remap = size_total;
imacfb_fix.smem_len = size_remap;
-#ifndef __i386__
- screen_info.imacpm_seg = 0;
-#endif
-
if (!request_mem_region(imacfb_fix.smem_start, size_total, "imacfb")) {
printk(KERN_WARNING
"imacfb: cannot reserve video memory at 0x%lx\n",
_
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/