Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 323392
b: refs/heads/master
c: 40dc23a
h: refs/heads/master
v: v3
  • Loading branch information
Alan Cox authored and Jiri Kosina committed Sep 1, 2012
1 parent d8f819b commit dd33eb4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 3fd44cd40c920cb26c2697cea59442cd40cc8227
refs/heads/master: 40dc23aa82d51147a24f659a7c006ae4bb14009a
4 changes: 4 additions & 0 deletions trunk/drivers/video/tmiofb.c
Original file line number Diff line number Diff line change
Expand Up @@ -694,6 +694,10 @@ static int __devinit tmiofb_probe(struct platform_device *dev)
dev_err(&dev->dev, "NULL platform data!\n");
return -EINVAL;
}
if (ccr == NULL || lcr == NULL || vram == NULL || irq < 0) {
dev_err(&dev->dev, "missing resources\n");
return -EINVAL;
}

info = framebuffer_alloc(sizeof(struct tmiofb_par), &dev->dev);

Expand Down

0 comments on commit dd33eb4

Please sign in to comment.