diff options
author | Timur Tabi <timur@freescale.com> | 2011-09-15 17:44:49 -0400 |
---|---|---|
committer | Florian Tobias Schandinat <FlorianSchandinat@gmx.de> | 2011-09-18 16:08:56 -0400 |
commit | 89f08e3e5d063b9fd7f37e8514e5f0af8c1015e8 (patch) | |
tree | efe74a352879ca293373f91b2ec308cc5cdcd818 /drivers | |
parent | 4a64e49df282d55754f9bbb5f14ca4d783128df4 (diff) |
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')
-rw-r--r-- | drivers/video/fsl-diu-fb.c | 2 |
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) | |||
1429 | { | 1429 | { |
1430 | struct device_node *np = ofdev->dev.of_node; | 1430 | struct device_node *np = ofdev->dev.of_node; |
1431 | struct mfb_info *mfbi; | 1431 | struct mfb_info *mfbi; |
1432 | phys_addr_t dummy_ad_addr; | 1432 | phys_addr_t dummy_ad_addr = 0; |
1433 | int ret, i, error = 0; | 1433 | int ret, i, error = 0; |
1434 | struct resource res; | 1434 | struct resource res; |
1435 | struct fsl_diu_data *machine_data; | 1435 | struct fsl_diu_data *machine_data; |