Skip to contentSkip to conversation

drivers/media/video/meye.c: Use the DMA_32BIT_MASK

PATCH New Tobias Klauser 1 participant 1 message Mar 14, 2005

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

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().

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