pxa168fb: fix offset setting at initialization
authorJun Nie <njun@marvell.com>
Tue, 10 Nov 2009 01:33:49 +0000 (09:33 +0800)
committerEric Miao <eric.y.miao@gmail.com>
Tue, 1 Dec 2009 01:02:31 +0000 (09:02 +0800)
Signed-off-by: Jun Nie <njun@marvell.com>
Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
drivers/video/pxa168fb.c

index 84d8327e47db88f890decc7b1f27952841cd963f..75285d3f393cba74c77eb35017e98b229d639769 100644 (file)
@@ -687,6 +687,7 @@ static int __init pxa168fb_probe(struct platform_device *pdev)
        }
 
        info->fix.smem_start = (unsigned long)fbi->fb_start_dma;
+       set_graphics_start(info, 0, 0);
 
        /*
         * Set video mode according to platform data.