diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2010-01-02 11:16:20 +0000 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2010-01-02 11:16:20 +0000 |
commit | 1df4bb4af42459a4a10e7b21794a6f44463534e6 (patch) | |
tree | dcea2c5f7035a5fc2304b25614d7fa12fe073c58 /drivers | |
parent | twl4030-irq.c: fix compiler warning due to raw-spinlock conversion (diff) | |
parent | [ARM] pxa/poodle: fix incorrect 'gpio_card_detect' of MMC (diff) | |
download | linux-dev-1df4bb4af42459a4a10e7b21794a6f44463534e6.tar.xz linux-dev-1df4bb4af42459a4a10e7b21794a6f44463534e6.zip |
Merge branch 'fix' of git://git.kernel.org/pub/scm/linux/kernel/git/ycmiao/pxa-linux-2.6
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/video/pxafb.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/video/pxafb.c b/drivers/video/pxafb.c index 415858b421b3..825b665245bb 100644 --- a/drivers/video/pxafb.c +++ b/drivers/video/pxafb.c @@ -1221,9 +1221,9 @@ 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; + struct pxafb_mach_info *inf = fbi->dev->platform_data; - if (!fbi || !fbi->dev->platform_data->smart_update) { + if (!inf->smart_update) { pr_err("%s: not properly initialized, thread terminated\n", __func__); return -EINVAL; |