Marin Mitov f932e3a361 Staging: dt3155v4l: correcting a pointer mismatch bug and cleanups
The third argument of dma_alloc_coherent() is of type dma_addr_t and is defined
as u64 for x86_64, while the member 'device_base' of struct dma_coherent_mem is
defined as u32.

While at it, clean up the code. Now if dev->dma_mem != NULL all the fields/members
are already properly initialized.

Signed-off-by: Marin Mitov <mitov@issp.bas.bg>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-06-18 16:50:04 -07:00
..
2010-05-17 16:31:15 -07:00
2010-06-04 13:38:54 -07:00
2010-05-14 14:02:56 -07:00
2010-05-14 14:02:56 -07:00
2010-06-08 18:28:24 +01:00
2010-06-18 12:46:42 -07:00
2008-10-13 14:32:52 -07:00