Commit 052217d0 authored by Kevin Hilman's avatar Kevin Hilman

davinci: convert DMA_32BIT_MASK --> DMA_BIT_MASK(32)

As per commit 284901a9,
use DMA_BIT_MASK(n)
Signed-off-by: default avatarKevin Hilman <khilman@deeprootsystems.com>
parent dc890ae4
...@@ -183,14 +183,14 @@ static struct platform_device davinci_evm_nandflash_device = { ...@@ -183,14 +183,14 @@ static struct platform_device davinci_evm_nandflash_device = {
.resource = davinci_evm_nandflash_resource, .resource = davinci_evm_nandflash_resource,
}; };
static u64 davinci_fb_dma_mask = DMA_32BIT_MASK; static u64 davinci_fb_dma_mask = DMA_BIT_MASK(32);
static struct platform_device davinci_fb_device = { static struct platform_device davinci_fb_device = {
.name = "davincifb", .name = "davincifb",
.id = -1, .id = -1,
.dev = { .dev = {
.dma_mask = &davinci_fb_dma_mask, .dma_mask = &davinci_fb_dma_mask,
.coherent_dma_mask = DMA_32BIT_MASK, .coherent_dma_mask = DMA_BIT_MASK(32),
}, },
.num_resources = 0, .num_resources = 0,
}; };
...@@ -213,7 +213,7 @@ static struct resource ide_resources[] = { ...@@ -213,7 +213,7 @@ static struct resource ide_resources[] = {
}, },
}; };
static u64 ide_dma_mask = DMA_32BIT_MASK; static u64 ide_dma_mask = DMA_BIT_MASK(32);
static struct platform_device ide_dev = { static struct platform_device ide_dev = {
.name = "palm_bk3710", .name = "palm_bk3710",
...@@ -222,7 +222,7 @@ static struct platform_device ide_dev = { ...@@ -222,7 +222,7 @@ static struct platform_device ide_dev = {
.num_resources = ARRAY_SIZE(ide_resources), .num_resources = ARRAY_SIZE(ide_resources),
.dev = { .dev = {
.dma_mask = &ide_dma_mask, .dma_mask = &ide_dma_mask,
.coherent_dma_mask = DMA_32BIT_MASK, .coherent_dma_mask = DMA_BIT_MASK(32),
}, },
}; };
......
...@@ -70,7 +70,7 @@ void __init davinci_init_i2c(struct davinci_i2c_platform_data *pdata) ...@@ -70,7 +70,7 @@ void __init davinci_init_i2c(struct davinci_i2c_platform_data *pdata)
#if defined(CONFIG_MMC_DAVINCI) || defined(CONFIG_MMC_DAVINCI_MODULE) #if defined(CONFIG_MMC_DAVINCI) || defined(CONFIG_MMC_DAVINCI_MODULE)
static u64 mmcsd0_dma_mask = DMA_32BIT_MASK; static u64 mmcsd0_dma_mask = DMA_BIT_MASK(32);
static struct resource mmcsd0_resources[] = { static struct resource mmcsd0_resources[] = {
{ {
...@@ -103,13 +103,13 @@ static struct platform_device davinci_mmcsd0_device = { ...@@ -103,13 +103,13 @@ static struct platform_device davinci_mmcsd0_device = {
.id = 0, .id = 0,
.dev = { .dev = {
.dma_mask = &mmcsd0_dma_mask, .dma_mask = &mmcsd0_dma_mask,
.coherent_dma_mask = DMA_32BIT_MASK, .coherent_dma_mask = DMA_BIT_MASK(32),
}, },
.num_resources = ARRAY_SIZE(mmcsd0_resources), .num_resources = ARRAY_SIZE(mmcsd0_resources),
.resource = mmcsd0_resources, .resource = mmcsd0_resources,
}; };
static u64 mmcsd1_dma_mask = DMA_32BIT_MASK; static u64 mmcsd1_dma_mask = DMA_BIT_MASK(32);
static struct resource mmcsd1_resources[] = { static struct resource mmcsd1_resources[] = {
{ {
...@@ -140,7 +140,7 @@ static struct platform_device davinci_mmcsd1_device = { ...@@ -140,7 +140,7 @@ static struct platform_device davinci_mmcsd1_device = {
.id = 1, .id = 1,
.dev = { .dev = {
.dma_mask = &mmcsd1_dma_mask, .dma_mask = &mmcsd1_dma_mask,
.coherent_dma_mask = DMA_32BIT_MASK, .coherent_dma_mask = DMA_BIT_MASK(32),
}, },
.num_resources = ARRAY_SIZE(mmcsd1_resources), .num_resources = ARRAY_SIZE(mmcsd1_resources),
.resource = mmcsd1_resources, .resource = mmcsd1_resources,
......
...@@ -382,7 +382,7 @@ static struct davinci_clk dm355_clks[] = { ...@@ -382,7 +382,7 @@ static struct davinci_clk dm355_clks[] = {
/*----------------------------------------------------------------------*/ /*----------------------------------------------------------------------*/
static u64 dm355_spi0_dma_mask = DMA_32BIT_MASK; static u64 dm355_spi0_dma_mask = DMA_BIT_MASK(32);
static struct resource dm355_spi0_resources[] = { static struct resource dm355_spi0_resources[] = {
{ {
...@@ -408,7 +408,7 @@ static struct platform_device dm355_spi0_device = { ...@@ -408,7 +408,7 @@ static struct platform_device dm355_spi0_device = {
.id = 0, .id = 0,
.dev = { .dev = {
.dma_mask = &dm355_spi0_dma_mask, .dma_mask = &dm355_spi0_dma_mask,
.coherent_dma_mask = DMA_32BIT_MASK, .coherent_dma_mask = DMA_BIT_MASK(32),
}, },
.num_resources = ARRAY_SIZE(dm355_spi0_resources), .num_resources = ARRAY_SIZE(dm355_spi0_resources),
.resource = dm355_spi0_resources, .resource = dm355_spi0_resources,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment