Commit 47418c9e authored by Dr. David Alan Gilbert's avatar Dr. David Alan Gilbert Committed by Russell King

[PATCH] 1094/1: 2.4.18-rmk3: fix for build failure with no video

2.4.18-rmk3 fails to build on the EBSA285 if there is no video stuff
enabled with a missing symbol.  For me the linker lied and told me it
was in irq.c but it was actually in the previous file in the link,
mach-footbridge/arch.c ; the symbol is screen_info which is what the
ORIG_* macros use.

Note I haven't yet tested this booting, just building.
parent 04b13112
......@@ -41,10 +41,12 @@ static void __init
fixup_ebsa285(struct machine_desc *desc, struct param_struct *params,
char **cmdline, struct meminfo *mi)
{
#if defined(CONFIG_VGA_CONSOLE) || defined(CONFIG_DUMMY_CONSOLE)
ORIG_X = params->u1.s.video_x;
ORIG_Y = params->u1.s.video_y;
ORIG_VIDEO_COLS = params->u1.s.video_num_cols;
ORIG_VIDEO_LINES = params->u1.s.video_num_rows;
#endif
}
MACHINE_START(EBSA285, "EBSA285")
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment