Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 230505
b: refs/heads/master
c: ec03031
h: refs/heads/master
i:
  230503: 128fa92
v: v3
  • Loading branch information
Jamie Iles authored and Paul Mundt committed Jan 12, 2011
1 parent 55033a7 commit 0b1f751
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 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: 0b2e9cb42cd0b5b0c95a776e30c9ecdff16587ea
refs/heads/master: ec03031707a348578c6ded277e5d92eb21de4fce
5 changes: 3 additions & 2 deletions trunk/drivers/video/nuc900fb.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
*/
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/err.h>
#include <linux/errno.h>
#include <linux/string.h>
#include <linux/mm.h>
Expand Down Expand Up @@ -597,9 +598,9 @@ static int __devinit nuc900fb_probe(struct platform_device *pdev)
}

fbi->clk = clk_get(&pdev->dev, NULL);
if (!fbi->clk || IS_ERR(fbi->clk)) {
if (IS_ERR(fbi->clk)) {
printk(KERN_ERR "nuc900-lcd:failed to get lcd clock source\n");
ret = -ENOENT;
ret = PTR_ERR(fbi->clk);
goto release_irq;
}

Expand Down

0 comments on commit 0b1f751

Please sign in to comment.