linux-mips.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/3] ar7: use DMA_BIT_MASK(nn) instead of deprecated DMA_nnBIT_MASK
@ 2009-07-24 11:18 Florian Fainelli
  2009-07-29 23:40 ` Ralf Baechle
  0 siblings, 1 reply; 2+ messages in thread
From: Florian Fainelli @ 2009-07-24 11:18 UTC (permalink / raw)
  To: linux-mips; +Cc: Ralf Baechle

Replaced use of DMA_nnBIT_MASK by DMA_BIT_MASK(nn).

Signed-off-by: Florian Fainelli <florian@openwrt.org>
---
diff --git a/arch/mips/ar7/platform.c b/arch/mips/ar7/platform.c
index d0624d8..21d43f2 100644
--- a/arch/mips/ar7/platform.c
+++ b/arch/mips/ar7/platform.c
@@ -242,13 +242,13 @@ static struct platform_device physmap_flash = {
 	.num_resources = 1,
 };
 
-static u64 cpmac_dma_mask = DMA_32BIT_MASK;
+static u64 cpmac_dma_mask = DMA_BIT_MASK(32);
 static struct platform_device cpmac_low = {
 	.id = 0,
 	.name = "cpmac",
 	.dev = {
 		.dma_mask = &cpmac_dma_mask,
-		.coherent_dma_mask = DMA_32BIT_MASK,
+		.coherent_dma_mask = DMA_BIT_MASK(32),
 		.platform_data = &cpmac_low_data,
 	},
 	.resource = cpmac_low_res,
@@ -260,7 +260,7 @@ static struct platform_device cpmac_high = {
 	.name = "cpmac",
 	.dev = {
 		.dma_mask = &cpmac_dma_mask,
-		.coherent_dma_mask = DMA_32BIT_MASK,
+		.coherent_dma_mask = DMA_BIT_MASK(32),
 		.platform_data = &cpmac_high_data,
 	},
 	.resource = cpmac_high_res,

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

* Re: [PATCH 1/3] ar7: use DMA_BIT_MASK(nn) instead of deprecated DMA_nnBIT_MASK
  2009-07-24 11:18 [PATCH 1/3] ar7: use DMA_BIT_MASK(nn) instead of deprecated DMA_nnBIT_MASK Florian Fainelli
@ 2009-07-29 23:40 ` Ralf Baechle
  0 siblings, 0 replies; 2+ messages in thread
From: Ralf Baechle @ 2009-07-29 23:40 UTC (permalink / raw)
  To: Florian Fainelli; +Cc: linux-mips

Applied.  Thanks!

  Ralf

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

end of thread, other threads:[~2009-07-29 23:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-24 11:18 [PATCH 1/3] ar7: use DMA_BIT_MASK(nn) instead of deprecated DMA_nnBIT_MASK Florian Fainelli
2009-07-29 23:40 ` Ralf Baechle

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).