[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>
Showing
- drivers/video/Kconfig 1 addition, 1 deletiondrivers/video/Kconfig
- drivers/video/Makefile 1 addition, 0 deletionsdrivers/video/Makefile
- drivers/video/backlight/Kconfig 2 additions, 2 deletionsdrivers/video/backlight/Kconfig
- drivers/video/fb_notify.c 46 additions, 0 deletionsdrivers/video/fb_notify.c
- drivers/video/fbmem.c 11 additions, 43 deletionsdrivers/video/fbmem.c
- include/linux/fb.h 1 addition, 1 deletioninclude/linux/fb.h
Loading
Please register or sign in to comment