[PATCH] fbdev: statically link the framebuffer notification functions
authorAntonino A. Daplas <adaplas@gmail.com>
Sun, 30 Jul 2006 10:04:17 +0000 (03:04 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 31 Jul 2006 20:28:44 +0000 (13:28 -0700)
commit256154fbc31c25a8df4d398232acfa9d4892224c
tree278582add1a28766a1f3f4dba2f250cdbb191e0a
parent834a9b8ca7a01c34570be021f88e18884a29f048
[PATCH] fbdev: statically link the framebuffer notification functions

The backlight and lcd subsystems can be notified by the framebuffer layer
of blanking events.  However, these subsystems, as a whole, can function
independently from the framebuffer layer.  But in order to enable to the
lcd and backlight subsystems, the framebuffer has to be compiled also,
effectively sucking in a huge amount of unneeded code.

To prevent dependency problems, separate out the framebuffer notification
mechanism from the framebuffer layer and permanently link it to the kernel.

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/Kconfig
drivers/video/Makefile
drivers/video/backlight/Kconfig
drivers/video/fb_notify.c [new file with mode: 0644]
drivers/video/fbmem.c
include/linux/fb.h