From: Qiang Chen Date: Fri, 5 Dec 2014 08:18:30 +0000 (+0800) Subject: video: ocfb: Fix data type warning X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~129^2~20 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=77989ee83c7c634a642383ec01f43dd471637558;p=pandora-kernel.git video: ocfb: Fix data type warning When allocate framebuffer memory using dma_alloc_coherent(), we'd better use dma_addr_t instead of phys_addr_t. Because the address we got in fact is DMA or bus address for the platform. This patch also fixes below build warning: drivers/video/fbdev/ocfb.c:335:2: warning: passing argument 3 of ‘dma_alloc_attrs’ from incompatible pointer type [enabled by default] Signed-off-by: Qiang Chen Acked-by: Stefan Kristiansson Signed-off-by: Tomi Valkeinen --- Reading git-diff-tree failed