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

Sascha Hauer s.hauer at pengutronix.de
Wed Nov 10 09:55:59 EST 2010


On Wed, Nov 10, 2010 at 03:53:58PM +0100, Sascha Hauer wrote:
> 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");
>

This patch is unrelated to this series and got in here accidently.
Anyway, it is correct and should go to master.

Sascha

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list