Commit 3e3e65fc authored by H Hartley Sweeten's avatar H Hartley Sweeten Committed by Nicolas Pitre

mach-kirkwood/common.c: remove unnecessary (void *) casts

The (void *) cast is not needed when setting dev.platform_data to the
address of the data. Remove the casts.
Signed-off-by: default avatarH Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Lennert Buytenhek <buytenh@marvell.com>
Signed-off-by: default avatarNicolas Pitre <nico@marvell.com>
parent ef4a6777
...@@ -656,7 +656,7 @@ static struct platform_device kirkwood_xor00_channel = { ...@@ -656,7 +656,7 @@ static struct platform_device kirkwood_xor00_channel = {
.dev = { .dev = {
.dma_mask = &kirkwood_xor_dmamask, .dma_mask = &kirkwood_xor_dmamask,
.coherent_dma_mask = DMA_BIT_MASK(64), .coherent_dma_mask = DMA_BIT_MASK(64),
.platform_data = (void *)&kirkwood_xor00_data, .platform_data = &kirkwood_xor00_data,
}, },
}; };
...@@ -682,7 +682,7 @@ static struct platform_device kirkwood_xor01_channel = { ...@@ -682,7 +682,7 @@ static struct platform_device kirkwood_xor01_channel = {
.dev = { .dev = {
.dma_mask = &kirkwood_xor_dmamask, .dma_mask = &kirkwood_xor_dmamask,
.coherent_dma_mask = DMA_BIT_MASK(64), .coherent_dma_mask = DMA_BIT_MASK(64),
.platform_data = (void *)&kirkwood_xor01_data, .platform_data = &kirkwood_xor01_data,
}, },
}; };
...@@ -755,7 +755,7 @@ static struct platform_device kirkwood_xor10_channel = { ...@@ -755,7 +755,7 @@ static struct platform_device kirkwood_xor10_channel = {
.dev = { .dev = {
.dma_mask = &kirkwood_xor_dmamask, .dma_mask = &kirkwood_xor_dmamask,
.coherent_dma_mask = DMA_BIT_MASK(64), .coherent_dma_mask = DMA_BIT_MASK(64),
.platform_data = (void *)&kirkwood_xor10_data, .platform_data = &kirkwood_xor10_data,
}, },
}; };
...@@ -781,7 +781,7 @@ static struct platform_device kirkwood_xor11_channel = { ...@@ -781,7 +781,7 @@ static struct platform_device kirkwood_xor11_channel = {
.dev = { .dev = {
.dma_mask = &kirkwood_xor_dmamask, .dma_mask = &kirkwood_xor_dmamask,
.coherent_dma_mask = DMA_BIT_MASK(64), .coherent_dma_mask = DMA_BIT_MASK(64),
.platform_data = (void *)&kirkwood_xor11_data, .platform_data = &kirkwood_xor11_data,
}, },
}; };
......
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