diff options
| author | Qiang Chen <[email protected]> | 2014-12-05 16:18:30 +0800 |
|---|---|---|
| committer | Tomi Valkeinen <[email protected]> | 2015-01-13 12:53:25 +0200 |
| commit | 77989ee83c7c634a642383ec01f43dd471637558 (patch) | |
| tree | 93a4d933b97dcaa1e286e593fa49d5b53f2f10d2 /tools/perf/scripts/python/bin | |
| parent | 77a7f1837a9c6f9cfb6ce0d5b166e1f1f7b117b3 (diff) | |
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 <[email protected]>
Acked-by: Stefan Kristiansson <[email protected]>
Signed-off-by: Tomi Valkeinen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions