summaryrefslogtreecommitdiffstats
path: root/drivers/video/console/fbcon_rotate.c
diff options
context:
space:
mode:
authorAntonino A. Daplas <adaplas@gmail.com>2005-11-09 06:39:14 +0100
committerLinus Torvalds <torvalds@g5.osdl.org>2005-11-09 16:56:34 +0100
commited8c0e99f27451a9b980adf0de318d60e6de811f (patch)
tree5319e0c8669bddc682408bf113361a415a75a17f /drivers/video/console/fbcon_rotate.c
parent[PATCH] fbcon: Console Rotation - Add support for 180-degree console rotation (diff)
downloadlinux-ed8c0e99f27451a9b980adf0de318d60e6de811f.tar.xz
linux-ed8c0e99f27451a9b980adf0de318d60e6de811f.zip
[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);