From: Ben Dooks Date: Sun, 23 Dec 2007 02:09:38 +0000 (+0100) Subject: [ARM] 4723/1: BAST: Fix LCD driver default display setting X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=9cbae12cca55332c9fef8f700ea28d36d7cc54be;p=GitHub%2Fmt8127%2Fandroid_kernel_alcatel_ttab.git [ARM] 4723/1: BAST: Fix LCD driver default display setting We have a default display set to 4, when we only have three registered displays. Fix this argument (a seperate patch has been generated to ensure that the LCD driver takes notice of this bug) Signed-off-by: Ben Dooks Signed-off-by: Russell King --- diff --git a/arch/arm/mach-s3c2410/mach-bast.c b/arch/arm/mach-s3c2410/mach-bast.c index 587864fe25fb..53c2a1376e07 100644 --- a/arch/arm/mach-s3c2410/mach-bast.c +++ b/arch/arm/mach-s3c2410/mach-bast.c @@ -530,7 +530,7 @@ static struct s3c2410fb_mach_info __initdata bast_fb_info = { .displays = bast_lcd_info, .num_displays = ARRAY_SIZE(bast_lcd_info), - .default_display = 4, + .default_display = 1, }; /* Standard BAST devices */