[PATCH] fixup! WIP: video: implement quick-n-dirty framebuffer console

Antony Pavlov antonynpavlov at gmail.com
Sun Jul 12 03:07:12 PDT 2015


---
Sascha moved fbconsole registration to common fb code.
So we can drop this supefluous code.
---
 drivers/video/sdl.c | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/drivers/video/sdl.c b/drivers/video/sdl.c
index 5407a1a..a568340 100644
--- a/drivers/video/sdl.c
+++ b/drivers/video/sdl.c
@@ -69,13 +69,8 @@ static int sdlfb_probe(struct device_d *dev)
 	dev->priv = fb;
 
 	ret = register_framebuffer(fb);
-	if (!ret) {
-		extern int register_fbconsole(struct fb_info *fb);
-
-		register_fbconsole(fb);
-
+	if (!ret)
 		return 0;
-	}
 
 err:
 	kfree(fb->screen_base);
-- 
2.1.4




More information about the barebox mailing list