From: Timur Tabi Date: Thu, 15 Sep 2011 21:44:49 +0000 (-0500) Subject: drivers/video: fsl-diu-fb: fix compilation warning X-Git-Tag: v3.2-rc1~120^2~27 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=89f08e3e5d063b9fd7f37e8514e5f0af8c1015e8;p=profile%2Fivi%2Fkernel-x86-ivi.git drivers/video: fsl-diu-fb: fix compilation warning Fix this compilation warning in the Freescale DIU framebuffer driver: warning: 'dummy_ad_addr' may be used uninitialized in this function Signed-off-by: Timur Tabi Signed-off-by: Florian Tobias Schandinat --- diff --git a/drivers/video/fsl-diu-fb.c b/drivers/video/fsl-diu-fb.c index 226f4bc345d..6c544cff314 100644 --- a/drivers/video/fsl-diu-fb.c +++ b/drivers/video/fsl-diu-fb.c @@ -1429,7 +1429,7 @@ static int __devinit fsl_diu_probe(struct platform_device *ofdev) { struct device_node *np = ofdev->dev.of_node; struct mfb_info *mfbi; - phys_addr_t dummy_ad_addr; + phys_addr_t dummy_ad_addr = 0; int ret, i, error = 0; struct resource res; struct fsl_diu_data *machine_data;