aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video/console/fbcon_rotate.c
diff options
context:
space:
mode:
authorAntonino A. Daplas <adaplas@gmail.com>2005-11-09 00:39:13 -0500
committerLinus Torvalds <torvalds@g5.osdl.org>2005-11-09 10:56:34 -0500
commit33ee82978c4ecf7cbd56064391c9385264185de2 (patch)
tree3c5ac7257f79d6487ef6365625296f3cb5522d10 /drivers/video/console/fbcon_rotate.c
parentdbcbfe1ea41e404d960a06fa2faf7da568909f33 (diff)
[PATCH] fbcon: Console Rotation - Add support for 180-degree console rotation
Add support for 180-degree (upside down) rotation of the console. To activate, boot with: fbcon=rotate:2 Signed-off-by: Antonino Daplas <adaplas@pol.net> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/video/console/fbcon_rotate.c')
-rw-r--r--drivers/video/console/fbcon_rotate.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/video/console/fbcon_rotate.c b/drivers/video/console/fbcon_rotate.c
index 9df009c8ab49..3d64ad190ff8 100644
--- a/drivers/video/console/fbcon_rotate.c
+++ b/drivers/video/console/fbcon_rotate.c
@@ -102,6 +102,9 @@ void fbcon_set_rotate(struct fbcon_ops *ops)
102 case FB_ROTATE_CW: 102 case FB_ROTATE_CW:
103 fbcon_rotate_cw(ops); 103 fbcon_rotate_cw(ops);
104 break; 104 break;
105 case FB_ROTATE_UD:
106 fbcon_rotate_ud(ops);
107 break;
105 } 108 }
106} 109}
107EXPORT_SYMBOL(fbcon_set_rotate); 110EXPORT_SYMBOL(fbcon_set_rotate);