]> git.neil.brown.name Git - history.git/commitdiff
[PATCH] fbdev booting fix.
authorJames Simmons <jsimmons@infradead.org>
Mon, 26 Jan 2004 06:49:42 +0000 (22:49 -0800)
committerLinus Torvalds <torvalds@home.osdl.org>
Mon, 26 Jan 2004 06:49:42 +0000 (22:49 -0800)
[FBCON] Fixed the order of which driver is used for the console. Before
the api change the last driver loaded became the default one. Now this is
not the case.

drivers/video/console/fbcon.c

index dff229fe7a201c678193ecf7a0ffdd8d62c4c342..cc6b7dc2dd7aef88392244420785554b3dca6f53 100644 (file)
@@ -545,7 +545,7 @@ static const char *fbcon_startup(void)
                return display_desc;
        done = 1;
 
-       info = registered_fb[num_registered_fb-1];      
+       info = registered_fb[0];        
        if (!info)      return NULL;
        info->currcon = -1;