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:13 -0800
committerLinus Torvalds <torvalds@g5.osdl.org>2005-11-09 07:56:34 -0800
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)
case FB_ROTATE_CW:
fbcon_rotate_cw(ops);
break;
+ case FB_ROTATE_UD:
+ fbcon_rotate_ud(ops);
+ break;
}
}
EXPORT_SYMBOL(fbcon_set_rotate);