drivers/media/video/meye.c: Use the DMA_32BIT_MASK
Subsystems (2)
PATCH 1/1 drivers/media/video/meye.c: Use the DMA_32BIT_MASK
Hello,
Description: Use the DMA_32BIT_MASK constant from dma-mapping.h when calling dma_set_mask().
Signed-off-by Tobias Klauser <[email protected]>
drivers/media/video/meye.c +1 -1
@@ -121,7 +121,7 @@ static int ptable_alloc(void)memset (meye.mchip_ptable,0 ,sizeof (meye.mchip_ptable));/* give only 32 bit DMA addresses */ -if (dma_set_mask (&meye.mchip_dev->dev,0xffffffff )) +if (dma_set_mask (&meye.mchip_dev->dev,DMA_32BIT_MASK ))return -1 ; meye.mchip_ptable_toc = dma_alloc_coherent(&meye.mchip_dev->dev,
_______________________________________________
Kernel-janitors mailing list
[email protected]
http://lists.osdl.org/mailman/listinfo/kernel-janitors