projects
/
profile
/
ivi
/
kernel-x86-ivi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4a64e49
)
drivers/video: fsl-diu-fb: fix compilation warning
author
Timur Tabi
<timur@freescale.com>
Thu, 15 Sep 2011 21:44:49 +0000
(16:44 -0500)
committer
Florian Tobias Schandinat
<FlorianSchandinat@gmx.de>
Sun, 18 Sep 2011 20:08:56 +0000
(20:08 +0000)
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>
drivers/video/fsl-diu-fb.c
patch
|
blob
|
history
diff --git
a/drivers/video/fsl-diu-fb.c
b/drivers/video/fsl-diu-fb.c
index 226f4bc345d5486d650304bad643e5f2adb5c146..6c544cff31438ede079a46f983b983632d5b0a8c 100644
(file)
--- 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;