summaryrefslogtreecommitdiffstats
path: root/drivers/video/fsl-diu-fb.c
diff options
context:
space:
mode:
authorTimur Tabi <timur@freescale.com>2011-09-15 23:44:49 +0200
committerFlorian Tobias Schandinat <FlorianSchandinat@gmx.de>2011-09-18 22:08:56 +0200
commit89f08e3e5d063b9fd7f37e8514e5f0af8c1015e8 (patch)
treeefe74a352879ca293373f91b2ec308cc5cdcd818 /drivers/video/fsl-diu-fb.c
parentdrivers/video: fsl-diu-fb: remove unused ioctls (diff)
downloadlinux-89f08e3e5d063b9fd7f37e8514e5f0af8c1015e8.tar.xz
linux-89f08e3e5d063b9fd7f37e8514e5f0af8c1015e8.zip
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 <timur@freescale.com> Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
Diffstat (limited to 'drivers/video/fsl-diu-fb.c')
-rw-r--r--drivers/video/fsl-diu-fb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/fsl-diu-fb.c b/drivers/video/fsl-diu-fb.c
index 226f4bc345d5..6c544cff3143 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;