diff options
author | H Hartley Sweeten <hartleys@visionengravers.com> | 2010-01-29 17:56:58 -0500 |
---|---|---|
committer | Nicolas Pitre <nico@fluxnic.net> | 2010-02-04 21:10:54 -0500 |
commit | ef4a6777cf33c4a7a76e74ecd593f74a1df30b96 (patch) | |
tree | 5e8036782f93aa2d7e6fc5da0e000d52648c4cb8 /arch/arm/mach-orion5x | |
parent | fc76be434d90bcd57a0ea6b93a2e66a3fec4b664 (diff) |
mach-orion5x/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: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Lennert Buytenhek <buytenh@marvell.com>
Signed-off-by: Nicolas Pitre <nico@marvell.com>
Diffstat (limited to 'arch/arm/mach-orion5x')
-rw-r--r-- | arch/arm/mach-orion5x/common.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-orion5x/common.c b/arch/arm/mach-orion5x/common.c index f87fa1253803..8dc2c76d2260 100644 --- a/arch/arm/mach-orion5x/common.c +++ b/arch/arm/mach-orion5x/common.c | |||
@@ -488,7 +488,7 @@ static struct platform_device orion5x_xor0_channel = { | |||
488 | .dev = { | 488 | .dev = { |
489 | .dma_mask = &orion5x_xor_dmamask, | 489 | .dma_mask = &orion5x_xor_dmamask, |
490 | .coherent_dma_mask = DMA_BIT_MASK(64), | 490 | .coherent_dma_mask = DMA_BIT_MASK(64), |
491 | .platform_data = (void *)&orion5x_xor0_data, | 491 | .platform_data = &orion5x_xor0_data, |
492 | }, | 492 | }, |
493 | }; | 493 | }; |
494 | 494 | ||
@@ -514,7 +514,7 @@ static struct platform_device orion5x_xor1_channel = { | |||
514 | .dev = { | 514 | .dev = { |
515 | .dma_mask = &orion5x_xor_dmamask, | 515 | .dma_mask = &orion5x_xor_dmamask, |
516 | .coherent_dma_mask = DMA_BIT_MASK(64), | 516 | .coherent_dma_mask = DMA_BIT_MASK(64), |
517 | .platform_data = (void *)&orion5x_xor1_data, | 517 | .platform_data = &orion5x_xor1_data, |
518 | }, | 518 | }, |
519 | }; | 519 | }; |
520 | 520 | ||