Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 83560
b: refs/heads/master
c: 2428e59
h: refs/heads/master
v: v3
  • Loading branch information
Marcin Slusarz authored and Linus Torvalds committed Feb 6, 2008
1 parent 5c219d2 commit 875268e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 2c6cc35c3033ef1ef79565164963687d686f9f05
refs/heads/master: 2428e59b5309286842c4bacbe90921b7f67e4ced
12 changes: 6 additions & 6 deletions trunk/drivers/video/console/fbcon.c
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ static char fontname[40];
static int info_idx = -1;

/* console rotation */
static int rotate;
static int initial_rotation;
static int fbcon_has_sysfs;

static const struct consw fb_con;
Expand Down Expand Up @@ -537,9 +537,9 @@ static int __init fb_console_setup(char *this_opt)
if (!strncmp(options, "rotate:", 7)) {
options += 7;
if (*options)
rotate = simple_strtoul(options, &options, 0);
if (rotate > 3)
rotate = 0;
initial_rotation = simple_strtoul(options, &options, 0);
if (initial_rotation > 3)
initial_rotation = 0;
}
}
return 1;
Expand Down Expand Up @@ -989,7 +989,7 @@ static const char *fbcon_startup(void)
ops->graphics = 1;
ops->cur_rotate = -1;
info->fbcon_par = ops;
p->con_rotate = rotate;
p->con_rotate = initial_rotation;
set_blitting_type(vc, info);

if (info->fix.type != FB_TYPE_TEXT) {
Expand Down Expand Up @@ -1176,7 +1176,7 @@ static void fbcon_init(struct vc_data *vc, int init)
con_copy_unimap(vc, svc);

ops = info->fbcon_par;
p->con_rotate = rotate;
p->con_rotate = initial_rotation;
set_blitting_type(vc, info);

cols = vc->vc_cols;
Expand Down

0 comments on commit 875268e

Please sign in to comment.