Re: 2.6.24-rc3-mm2 Build Failure at imacfb framebuffer driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 28 Nov 2007 18:37:13 +0530 Kamalesh Babulal <[email protected]> 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 <[email protected]>

Cc: Edgar Hucek <[email protected]>
Cc: "Antonino A. Daplas" <[email protected]>
Cc: Kamalesh Babulal <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
---

 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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux