Re: [PATCH 7/8] [RESEND] fbdev: fbcon: Console unregistration from unregister_framebuffer
From: Geert Uytterhoeven <hidden>
Date: 2007-05-31 13:40:01
On Thu, 31 May 2007, Antonino A. Daplas wrote:
The previous patch has a minor bug, please drop it.
But the new one introduced a new problem...
Geert, Is this patch suitable for your needs?
I'll check it out. Thx!
quoted hunk ↗ jump to hunk
--- a/drivers/video/console/fbcon.c +++ b/drivers/video/console/fbcon.c@@ -3003,6 +3003,45 @@ static int fbcon_mode_deleted(struct fb_ return found; } +#ifdef CONFIG_VT_HW_CONSOLE_BINDING +static int fbcon_unbind(void) +{ + int ret; + + ret = unbind_con_driver(&fb_con, first_fb_vc, last_fb_vc, + fbcon_is_default); + return ret; +} +#else +static fbcon_unbind(void)
^^^
Missing int (the previous one did have this).
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- Sony Network and Software Technology Center Europe (NSCE)
Geert.Uytterhoeven@sonycom.com ------- The Corporate Village, Da Vincilaan 7-D1
Voice +32-2-7008453 Fax +32-2-7008622 ---------------- B-1935 Zaventem, Belgium
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/