diff options
author | Julia Lawall <Julia.Lawall@lip6.fr> | 2012-04-18 16:07:11 -0400 |
---|---|---|
committer | Florian Tobias Schandinat <FlorianSchandinat@gmx.de> | 2012-04-21 17:48:48 -0400 |
commit | 2de06df49f71fee795e997dee1eeda74a2b8598b (patch) | |
tree | e1ce35a9700349d27876f31ef381a968952031f6 /drivers/video/mbx | |
parent | 045dfdb5c5e8fe49afe1de82fb94eaae8121e059 (diff) |
drivers/video/mbx/mbxfb.c: correct ioremap_nocache test
The test tested not the most recently allocated value but a previously
allocated one.
Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
Diffstat (limited to 'drivers/video/mbx')
-rw-r--r-- | drivers/video/mbx/mbxfb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/mbx/mbxfb.c b/drivers/video/mbx/mbxfb.c index 55bf6196b7a0..ab0a8e527333 100644 --- a/drivers/video/mbx/mbxfb.c +++ b/drivers/video/mbx/mbxfb.c | |||
@@ -950,7 +950,7 @@ static int __devinit mbxfb_probe(struct platform_device *dev) | |||
950 | 950 | ||
951 | mfbi->fb_virt_addr = ioremap_nocache(mfbi->fb_phys_addr, | 951 | mfbi->fb_virt_addr = ioremap_nocache(mfbi->fb_phys_addr, |
952 | res_size(mfbi->fb_req)); | 952 | res_size(mfbi->fb_req)); |
953 | if (!mfbi->reg_virt_addr) { | 953 | if (!mfbi->fb_virt_addr) { |
954 | dev_err(&dev->dev, "failed to ioremap frame buffer\n"); | 954 | dev_err(&dev->dev, "failed to ioremap frame buffer\n"); |
955 | ret = -EINVAL; | 955 | ret = -EINVAL; |
956 | goto err4; | 956 | goto err4; |