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:14 -0500
committerLinus Torvalds <torvalds@g5.osdl.org>2005-11-09 10:56:34 -0500
commited8c0e99f27451a9b980adf0de318d60e6de811f (patch)
tree5319e0c8669bddc682408bf113361a415a75a17f /drivers/video/console/fbcon_rotate.c
parent33ee82978c4ecf7cbd56064391c9385264185de2 (diff)
[PATCH] fbcon: Console Rotation - Add support for 270-degree rotation
Add support for 270-degree (counterclockwise) rotation of the console. To activate, boot with: fbcon=rotate:3 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 3d64ad190ff8..ec0dd8fe241c 100644
--- a/drivers/video/console/fbcon_rotate.c
+++ b/drivers/video/console/fbcon_rotate.c
@@ -105,6 +105,9 @@ void fbcon_set_rotate(struct fbcon_ops *ops)
105 case FB_ROTATE_UD: 105 case FB_ROTATE_UD:
106 fbcon_rotate_ud(ops); 106 fbcon_rotate_ud(ops);
107 break; 107 break;
108 case FB_ROTATE_CCW:
109 fbcon_rotate_ccw(ops);
110 break;
108 } 111 }
109} 112}
110EXPORT_SYMBOL(fbcon_set_rotate); 113EXPORT_SYMBOL(fbcon_set_rotate);