From: Ingo Molnar Date: Fri, 30 Jun 2006 08:55:27 +0000 (-0700) Subject: [PATCH] fix drivers/video/imacfb.c compilation X-Git-Tag: v2.6.18-rc1~319 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=491d525ff19ead83b5e27ae4096b5c3e27805601;p=linux-2.6-omap-h63xx.git [PATCH] fix drivers/video/imacfb.c compilation Fix build error on x86_64. There's nothing even remotely close to imacmp_seg in the kernel, so I removed the whole line. Signed-off-by: Ingo Molnar Cc: Edgar Hucek Cc: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/drivers/video/imacfb.c b/drivers/video/imacfb.c index 7b1c168c834..cdbae173d69 100644 --- a/drivers/video/imacfb.c +++ b/drivers/video/imacfb.c @@ -207,10 +207,6 @@ static int __init imacfb_probe(struct platform_device *dev) 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",