From: Guennadi Liakhovetski Date: Tue, 14 Sep 2010 14:48:54 +0000 (+0000) Subject: fbdev: sh_mobile_lcdc: reconfigure the framebuffer, when free X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=dd210503b77ae04adfdb25ca45536c4f7e33edb1;p=linux-beck.git fbdev: sh_mobile_lcdc: reconfigure the framebuffer, when free Currently the sh_mobile_lcdc driver only reconfigures the hardware interface, when a new monitor is plugged in. This patch adds support for dynamic framebuffer reconfiguration, when no user is holding the framebuffer device node open. Signed-off-by: Guennadi Liakhovetski Signed-off-by: Paul Mundt --- diff --git a/drivers/video/sh_mobile_lcdcfb.c b/drivers/video/sh_mobile_lcdcfb.c index b4a878624510..d6e9ff512443 100644 --- a/drivers/video/sh_mobile_lcdcfb.c +++ b/drivers/video/sh_mobile_lcdcfb.c @@ -20,6 +20,7 @@ #include #include #include +#include #include