diff options
author | James Bottomley <jejb@titanic.(none)> | 2005-05-20 16:27:44 -0400 |
---|---|---|
committer | James Bottomley <jejb@titanic.(none)> | 2005-05-20 16:27:44 -0400 |
commit | ad34ea2cc3845ef4dcd7d12fb0fa8484734bd672 (patch) | |
tree | ad434400f5ecaa33b433c8f830e40792d8d6c05c /drivers/video/console/fbcon.c | |
parent | 90356ac3194bf91a441a5f9c3067af386ef62462 (diff) | |
parent | 88d7bd8cb9eb8d64bf7997600b0d64f7834047c5 (diff) |
merge by hand - fix up rejections in Documentation/DocBook/Makefile
Diffstat (limited to 'drivers/video/console/fbcon.c')
-rw-r--r-- | drivers/video/console/fbcon.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/video/console/fbcon.c b/drivers/video/console/fbcon.c index 59e3b4b4e7e3..b209adbd508a 100644 --- a/drivers/video/console/fbcon.c +++ b/drivers/video/console/fbcon.c | |||
@@ -906,10 +906,13 @@ static void fbcon_init(struct vc_data *vc, int init) | |||
906 | struct vc_data *svc = *default_mode; | 906 | struct vc_data *svc = *default_mode; |
907 | struct display *t, *p = &fb_display[vc->vc_num]; | 907 | struct display *t, *p = &fb_display[vc->vc_num]; |
908 | int logo = 1, new_rows, new_cols, rows, cols, charcnt = 256; | 908 | int logo = 1, new_rows, new_cols, rows, cols, charcnt = 256; |
909 | int cap = info->flags; | 909 | int cap; |
910 | 910 | ||
911 | if (info_idx == -1 || info == NULL) | 911 | if (info_idx == -1 || info == NULL) |
912 | return; | 912 | return; |
913 | |||
914 | cap = info->flags; | ||
915 | |||
913 | if (vc != svc || logo_shown == FBCON_LOGO_DONTSHOW || | 916 | if (vc != svc || logo_shown == FBCON_LOGO_DONTSHOW || |
914 | (info->fix.type == FB_TYPE_TEXT)) | 917 | (info->fix.type == FB_TYPE_TEXT)) |
915 | logo = 0; | 918 | logo = 0; |