From: Marin Mitov Date: Sun, 6 Jun 2010 11:16:07 +0000 (+0300) Subject: Staging: dt3155v4l: correcting a pointer mismatch bug and cleanups X-Git-Tag: v2.6.36-rc1~520^2~1^2~410 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f932e3a361731b403b1c2982197cea7e3d8e0e66;p=pandora-kernel.git 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 Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed