summaryrefslogtreecommitdiff
path: root/drivers/video/console/fbcon_rotate.c
diff options
context:
space:
mode:
authorAntonino A. Daplas <adaplas@gmail.com>2005-11-08 21:39:14 -0800
committerLinus Torvalds <torvalds@g5.osdl.org>2005-11-09 07:56:34 -0800
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)
case FB_ROTATE_UD:
fbcon_rotate_ud(ops);
break;
+ case FB_ROTATE_CCW:
+ fbcon_rotate_ccw(ops);
+ break;
}
}
EXPORT_SYMBOL(fbcon_set_rotate);