[PATCH] Detaching fbcon: sdd sysfs class device entry for fbcon
authorAntonino A. Daplas <adaplas@gmail.com>
Mon, 26 Jun 2006 07:27:05 +0000 (00:27 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 26 Jun 2006 16:58:32 +0000 (09:58 -0700)
commit9a17917671d407d37bf23a527aa55acca3cb4735
tree1e78f6f82d913ee58c174776529589afe1d3b2a9
parenta06630f3e7fb29f2524e1d7b009eb8b5a278ba23
[PATCH] Detaching fbcon: sdd sysfs class device entry for fbcon

In order for this feature to work, an interface will be needed.  The most
appropriate is sysfs.  However, the framebuffer console has no sysfs entry
yet.  This will create a sysfs class device entry for fbcon under
/sys/class/graphics.

Add a class_device entry 'fbcon' under class 'graphics'.  Console-specific
attributes which where previously under class/graphics/fb[x] are moved to
class/graphics/fbcon.  These attributes, 'con_rotate' and 'con_rotate_all',
are also renamed to 'rotate' and 'rotate_all' respectively.

Signed-off-by: Antonino Daplas <adaplas@pol.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/video/Makefile
drivers/video/console/fbcon.c
drivers/video/console/fbcon.h
drivers/video/fbmem.c
drivers/video/fbsysfs.c
include/linux/fb.h