ChangeSet 1.2296, 2005/03/31 08:47:09-08:00, [EMAIL PROTECTED]
[PATCH] fbcon: Save var rotate field in struct display
Add the rotate field among parameters saved in struct display (per
console
structure). Some out-of-tree drivers are possibly using this field.
From: Antonino Daplas <[EMAIL PROTECTED]>
Signed-off-by: Antonino Daplas <[EMAIL PROTECTED]>
Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]>
fbcon.c | 2 ++
fbcon.h | 1 +
2 files changed, 3 insertions(+)
diff -Nru a/drivers/video/console/fbcon.c b/drivers/video/console/fbcon.c
--- a/drivers/video/console/fbcon.c 2005-03-31 10:26:47 -08:00
+++ b/drivers/video/console/fbcon.c 2005-03-31 10:26:47 -08:00
@@ -703,6 +703,7 @@
disp->green = var->green;
disp->blue = var->blue;
disp->transp = var->transp;
+ disp->rotate = var->rotate;
disp->mode = fb_match_mode(var, &info->modelist);
if (disp->mode == NULL)
/* This should not happen */
@@ -726,6 +727,7 @@
var->green = disp->green;
var->blue = disp->blue;
var->transp = disp->transp;
+ var->rotate = disp->rotate;
}
static const char *fbcon_startup(void)
diff -Nru a/drivers/video/console/fbcon.h b/drivers/video/console/fbcon.h
--- a/drivers/video/console/fbcon.h 2005-03-31 10:26:47 -08:00
+++ b/drivers/video/console/fbcon.h 2005-03-31 10:26:47 -08:00
@@ -41,6 +41,7 @@
u32 grayscale;
u32 nonstd;
u32 accel_flags;
+ u32 rotate;
struct fb_bitfield red;
struct fb_bitfield green;
struct fb_bitfield blue;
-
To unsubscribe from this list: send the line "unsubscribe bk-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html