]> 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)
commite4390dc87dff2f7f8515a9b661ad90e1ed124b13
tree82ad03e3f8be04c71d562b8da7bb527f22c7ea9c
parentb7d65746744b343701de14ca433982a3229390be
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