public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] V4L/DVB: dm646x: fix DMA_nnBIT_MASK
@ 2009-07-23 22:50 Kevin Hilman
  2009-08-10 21:23 ` Kevin Hilman
  0 siblings, 1 reply; 2+ messages in thread
From: Kevin Hilman @ 2009-07-23 22:50 UTC (permalink / raw)
  To: Mauro Carvalho Chehab, hverkuil; +Cc: linux-media, davinci-linux-open-source

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

Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
---
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(-)

diff --git a/arch/arm/mach-davinci/dm646x.c b/arch/arm/mach-davinci/dm646x.c
index 73a7e8b..8f38371 100644
--- a/arch/arm/mach-davinci/dm646x.c
+++ b/arch/arm/mach-davinci/dm646x.c
@@ -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),
-- 
1.6.3.3


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-08-10 21:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-23 22:50 [PATCH] V4L/DVB: dm646x: fix DMA_nnBIT_MASK Kevin Hilman
2009-08-10 21:23 ` Kevin Hilman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox