Skip to content

Commit

Permalink
[PATCH] fix drivers/video/imacfb.c compilation
Browse files Browse the repository at this point in the history
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 <[email protected]>
Cc: Edgar Hucek <[email protected]>
Cc: Antonino Daplas <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
Ingo Molnar authored and Linus Torvalds committed Jun 30, 2006
1 parent 501b7c7 commit 491d525
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions drivers/video/imacfb.c
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 491d525

Please sign in to comment.