summaryrefslogtreecommitdiffstats
path: root/drivers/video/imacfb.c
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2006-06-30 01:55:27 -0700
committerLinus Torvalds <torvalds@g5.osdl.org>2006-06-30 11:25:34 -0700
commit491d525ff19ead83b5e27ae4096b5c3e27805601 (patch)
treebb833d1b7b343234c598dba861884543b23380dd /drivers/video/imacfb.c
parent501b7c77de3e90519e95fd99e923bf9a29cd120d (diff)
downloadop-kernel-dev-491d525ff19ead83b5e27ae4096b5c3e27805601.zip
op-kernel-dev-491d525ff19ead83b5e27ae4096b5c3e27805601.tar.gz
[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 <mingo@elte.hu> Cc: Edgar Hucek <hostmaster@ed-soft.at> Cc: Antonino Daplas <adaplas@pol.net> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/video/imacfb.c')
-rw-r--r--drivers/video/imacfb.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/video/imacfb.c b/drivers/video/imacfb.c
index 7b1c168..cdbae17 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",
OpenPOWER on IntegriCloud