From 0941185bf5732aae690a963996dc7930da3a95a4 Mon Sep 17 00:00:00 2001 From: Julia Lawall Date: Tue, 15 Dec 2009 16:46:26 -0800 Subject: [PATCH] --- yaml --- r: 176635 b: refs/heads/master c: d2a34c13e7ccec5d06eafd60e6f80ea531b34668 h: refs/heads/master i: 176633: 4bba9824c9b3da6d13b713d0cae506e532329bb5 176631: a506749090c52cc61d7f408471d9bcc4ba6aaba1 v: v3 --- [refs] | 2 +- trunk/drivers/video/pxafb.c | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/[refs] b/[refs] index 5c9af9855642..850efc58b9f9 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 2f390380ca69e1617cdddb12d8da94f0a9f4319d +refs/heads/master: d2a34c13e7ccec5d06eafd60e6f80ea531b34668 diff --git a/trunk/drivers/video/pxafb.c b/trunk/drivers/video/pxafb.c index b7e58059b592..415858b421b3 100644 --- a/trunk/drivers/video/pxafb.c +++ b/trunk/drivers/video/pxafb.c @@ -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__);