Skip to contentSkip to conversation

V4L/DVB: dm646x: fix DMA_nnBIT_MASK

PATCH In review Kevin Hilman 1 participant 2 messages Jul 23, 2009 – Aug 10, 2009

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

PATCH 1/1 V4L/DVB: dm646x: fix DMA_nnBIT_MASK

Fix deprecated use of DMA_nnBIT_MASK which now gives a compiler warning.

---
This compiler warning patch is on top of the master branch of Mauro's linux-next tree.

 arch/arm/mach-davinci/dm646x.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
arch/arm/mach-davinci/dm646x.c +1 -1
index 73a7e8b..8f38371 100644
@@ -720,7 +720,7 @@ static struct platform_device vpif_display_dev = {
 	.id		= -1,
 	.dev		= {
 			.dma_mask 		= &vpif_dma_mask,
-			.coherent_dma_mask	= DMA_32BIT_MASK,
+			.coherent_dma_mask	= DMA_BIT_MASK(32),
 	},
 	.resource	= vpif_resource,
 	.num_resources	= ARRAY_SIZE(vpif_resource),
Signature · 1 line
1.6.3.3
#1 lore raw
Quoted 7 lines · Kevin Hilman

Fix deprecated use of DMA_nnBIT_MASK which now gives a compiler warning.

---
This compiler warning patch is on top of the master branch of Mauro's linux-next tree.

Ping.

This is needed on top of the DaVinci changes queued in the master branch of Mauro's linux-next.git.

Kevin

Quoted 18 lines
 arch/arm/mach-davinci/dm646x.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
arch/arm/mach-davinci/dm646x.c +1 -1
index 73a7e8b..8f38371 100644
@@ -720,7 +720,7 @@ static struct platform_device vpif_display_dev = {
 	.id		= -1,
 	.dev		= {
 			.dma_mask 		= &vpif_dma_mask,
-			.coherent_dma_mask	= DMA_32BIT_MASK,
+			.coherent_dma_mask	= DMA_BIT_MASK(32),
 	},
 	.resource	= vpif_resource,
 	.num_resources	= ARRAY_SIZE(vpif_resource),
Signature · 1 line
1.6.3.3