]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitaa52b10362cc08f5fc14d1575fcffdd8cfcd2cfa
tree82ad03e3f8be04c71d562b8da7bb527f22c7ea9c
parent9cbe621030a9cce16d27329dac74fd4b1c1d9412
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