[PATCH 12/13] fb: set id for framebuffer device correctly

Sascha Hauer s.hauer at pengutronix.de
Wed Nov 10 09:53:58 EST 2010


Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
---
 drivers/video/fb.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/drivers/video/fb.c b/drivers/video/fb.c
index f9a425e..ab2c5eb 100644
--- a/drivers/video/fb.c
+++ b/drivers/video/fb.c
@@ -80,6 +80,7 @@ int register_framebuffer(struct fb_info *info)
 
 	dev = &info->dev;
 	dev->priv = info;
+	dev->id = id;
 
 	sprintf(dev->name, "fb");
 
-- 
1.7.2.3




More information about the barebox mailing list