Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 362944
b: refs/heads/master
c: 8e524c9
h: refs/heads/master
v: v3
  • Loading branch information
Sachin Kamat authored and Tomi Valkeinen committed Apr 10, 2013
1 parent 9377ea2 commit 85a3eb0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 7ab0a48420c95dc4099d1777a5a24dffad102cf1
refs/heads/master: 8e524c95040aa521283aba126c047381eadaed39
7 changes: 4 additions & 3 deletions trunk/drivers/video/wm8505fb.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
#include <linux/dma-mapping.h>
#include <linux/fb.h>
#include <linux/errno.h>
#include <linux/err.h>
#include <linux/init.h>
#include <linux/interrupt.h>
#include <linux/io.h>
Expand Down Expand Up @@ -303,9 +304,9 @@ static int wm8505fb_probe(struct platform_device *pdev)
fbi->fb.pseudo_palette = addr;

res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
fbi->regbase = devm_request_and_ioremap(&pdev->dev, res);
if (fbi->regbase == NULL)
return -EBUSY;
fbi->regbase = devm_ioremap_resource(&pdev->dev, res);
if (IS_ERR(fbi->regbase))
return PTR_ERR(fbi->regbase);

disp_timing = of_get_display_timings(pdev->dev.of_node);
if (!disp_timing)
Expand Down

0 comments on commit 85a3eb0

Please sign in to comment.