summaryrefslogtreecommitdiffstats
path: root/include/net/caif
diff options
context:
space:
mode:
authorErwan Bracq <erwan.bracq@stericsson.com>2011-12-06 08:25:05 +0100
committerDavid S. Miller <davem@davemloft.net>2011-12-06 19:34:12 +0100
commitd5f43c1ea4260807a894150b680fa0a0dd386259 (patch)
treec777acc31527351630775b1a3f4b5c33322ecb84 /include/net/caif
parentMerge branch 'for-davem' of git://git.kernel.org/pub/scm/linux/kernel/git/lin... (diff)
downloadlinux-d5f43c1ea4260807a894150b680fa0a0dd386259.tar.xz
linux-d5f43c1ea4260807a894150b680fa0a0dd386259.zip
caif-spi: Bugfix for dump upon device removal
Fix dump upon device removal, by moving deinitialization from platform-device-remove to network-interface-uninit. Signed-off-by: Sjur Brændeland <sjur.brandeland@stericsson.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/caif')
-rw-r--r--include/net/caif/caif_spi.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/net/caif/caif_spi.h b/include/net/caif/caif_spi.h
index 87c3d11b8e55..aa6a485b0545 100644
--- a/include/net/caif/caif_spi.h
+++ b/include/net/caif/caif_spi.h
@@ -55,8 +55,8 @@
struct cfspi_xfer {
u16 tx_dma_len;
u16 rx_dma_len;
- void *va_tx;
- dma_addr_t pa_tx;
+ void *va_tx[2];
+ dma_addr_t pa_tx[2];
void *va_rx;
dma_addr_t pa_rx;
};