spi/s3c64xx: Fix compilation warning
authorJassi Brar <jassi.brar@samsung.com>
Fri, 3 Sep 2010 01:36:26 +0000 (10:36 +0900)
committerGrant Likely <grant.likely@secretlab.ca>
Wed, 8 Sep 2010 18:03:45 +0000 (12:03 -0600)
commit251ee478f2c877a9a80362e094c542fbac7f5651
tree136929d46d1a97eff3bc1c286c15d0c915b4a717
parente3e55ff5854655d8723ad8b307f02515aecc3df5
spi/s3c64xx: Fix compilation warning

Fix compilation warning by typecasting the tx_buf pointer.

[I'm not thrilled with resorting to a cast; but I cannot see a better
way to go about this.  I don't want to drop the const from struct
spi_transfer ~~glikely]

Signed-off-by: Jassi Brar <jassi.brar@samsung.com>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
drivers/spi/spi_s3c64xx.c