Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 176635
b: refs/heads/master
c: d2a34c1
h: refs/heads/master
i:
  176633: 4bba982
  176631: a506749
v: v3
  • Loading branch information
Julia Lawall authored and Linus Torvalds committed Dec 16, 2009
1 parent 3cbd215 commit 0941185
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: 2f390380ca69e1617cdddb12d8da94f0a9f4319d
refs/heads/master: d2a34c13e7ccec5d06eafd60e6f80ea531b34668
5 changes: 3 additions & 2 deletions trunk/drivers/video/pxafb.c
Original file line number Diff line number Diff line change
Expand Up @@ -1221,13 +1221,14 @@ static void setup_smart_timing(struct pxafb_info *fbi,
static int pxafb_smart_thread(void *arg)
{
struct pxafb_info *fbi = arg;
struct pxafb_mach_info *inf = fbi->dev->platform_data;
struct pxafb_mach_info *inf;

if (!fbi || !inf->smart_update) {
if (!fbi || !fbi->dev->platform_data->smart_update) {
pr_err("%s: not properly initialized, thread terminated\n",
__func__);
return -EINVAL;
}
inf = fbi->dev->platform_data;

pr_debug("%s(): task starting\n", __func__);

Expand Down

0 comments on commit 0941185

Please sign in to comment.