X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=drivers%2Fspi%2Fspi.c;h=2e13a14bba3fdd62a3ded1711de7dc75fe785dfc;hb=fce637e392a762e4d4f0fc41ac3d3f557187ac21;hp=82b9a428c323eab0a0ea2fa4d8f033ba67025ee5;hpb=ec616048ea21da2b32ed1a820e637c74c61c618c;p=pandora-kernel.git diff --git a/drivers/spi/spi.c b/drivers/spi/spi.c index 82b9a428c323..2e13a14bba3f 100644 --- a/drivers/spi/spi.c +++ b/drivers/spi/spi.c @@ -1047,8 +1047,8 @@ static u8 *buf; * spi_{async,sync}() calls with dma-safe buffers. */ int spi_write_then_read(struct spi_device *spi, - const u8 *txbuf, unsigned n_tx, - u8 *rxbuf, unsigned n_rx) + const void *txbuf, unsigned n_tx, + void *rxbuf, unsigned n_rx) { static DEFINE_MUTEX(lock);