From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ben Dooks Subject: [PATCH] s3c2410fb: fix un-initialised dev field Date: Thu, 15 Feb 2007 22:49:23 +0000 Message-ID: <20070215224922.GA7156@fluff.org.uk> Mime-Version: 1.0 Return-path: Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org List-Id: --- linux-2.6.20/drivers/video/s3c2410fb.c 2007-02-04 18:44:54.000000000 +0000 +++ linux-2.6.20-fbfix1/drivers/video/s3c2410fb.c 2007-02-15 22:42:51.000000000 +0000 @@ -791,6 +791,8 @@ static int __init s3c2410fb_probe(struct info = fbinfo->par; info->fb = fbinfo; + info->dev = &pdev->dev; + platform_set_drvdata(pdev, fbinfo); dprintk("devinit\n");