1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-29 08:39:53 +02:00

jz4740_fb: Properly initalize physical video memory address

This commit is contained in:
Lars-Peter Clausen 2009-10-11 16:20:35 +02:00 committed by Xiangfu Liu
parent 7df7bde3ac
commit c456866a4a

View File

@ -315,6 +315,7 @@ static int jzfb_alloc_vidmem(struct jzfb *jzfb)
framedesc = jzfb->devmem + max_videosize;
jzfb->vidmem = jzfb->devmem;
jzfb->vidmem_phys = jzfb->devmem_phys;
framedesc->next = jzfb->devmem_phys + max_videosize;
framedesc->addr = jzfb->devmem_phys;