spi: s3c64xx: fix compiler warning in spi-s3c64xx
authorAndre Przywara <andre.przywara@arm.com>
Mon, 23 Feb 2015 12:30:46 +0000 (12:30 +0000)
committerMark Brown <broonie@kernel.org>
Tue, 24 Feb 2015 01:37:39 +0000 (10:37 +0900)
commit0744ea2a01cb75a750e8594b046102fc68fa45b3
tree82ad03e3f8be04c71d562b8da7bb527f22c7ea9c
parentc517d838eb7d07bbe9507871fab3931deccff539
spi: s3c64xx: fix compiler warning in spi-s3c64xx

The Exynos 7 arm64 support now allows the S3C64xx SPI driver to be
compiled into an ARM64 kernel, so the cast from the [rt]x_dmach int
variable to a void* in this driver now triggers a warning.
Add a long cast to silence the compiler.

Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-s3c64xx.c