]> err.no Git - linux-2.6/commitdiff
[ARM] 4723/1: BAST: Fix LCD driver default display setting
authorBen Dooks <ben-linux@fluff.org>
Sun, 23 Dec 2007 02:09:38 +0000 (03:09 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 28 Jan 2008 13:20:49 +0000 (13:20 +0000)
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 <ben-linux@fluff.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-s3c2410/mach-bast.c

index 587864fe25fb09f169b519dcc16d54dbb13c773d..53c2a1376e07a673f145fb240b43ad31f6b91e16 100644 (file)
@@ -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 */