[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>
This commit is contained in:
Родитель
501b7c77de
Коммит
491d525ff1
|
@ -207,10 +207,6 @@ static int __init imacfb_probe(struct platform_device *dev)
|
||||||
size_remap = size_total;
|
size_remap = size_total;
|
||||||
imacfb_fix.smem_len = size_remap;
|
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")) {
|
if (!request_mem_region(imacfb_fix.smem_start, size_total, "imacfb")) {
|
||||||
printk(KERN_WARNING
|
printk(KERN_WARNING
|
||||||
"imacfb: cannot reserve video memory at 0x%lx\n",
|
"imacfb: cannot reserve video memory at 0x%lx\n",
|
||||||
|
|
Загрузка…
Ссылка в новой задаче