diff options
author | Erwan Bracq <erwan.bracq@stericsson.com> | 2011-12-06 02:25:05 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-12-06 13:34:12 -0500 |
commit | d5f43c1ea4260807a894150b680fa0a0dd386259 (patch) | |
tree | c777acc31527351630775b1a3f4b5c33322ecb84 /include/net/caif | |
parent | 9e998a7550b41b303c5aa5351e66ccd56f2e4c50 (diff) |
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.h | 4 |
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 @@ | |||
55 | struct cfspi_xfer { | 55 | struct cfspi_xfer { |
56 | u16 tx_dma_len; | 56 | u16 tx_dma_len; |
57 | u16 rx_dma_len; | 57 | u16 rx_dma_len; |
58 | void *va_tx; | 58 | void *va_tx[2]; |
59 | dma_addr_t pa_tx; | 59 | dma_addr_t pa_tx[2]; |
60 | void *va_rx; | 60 | void *va_rx; |
61 | dma_addr_t pa_rx; | 61 | dma_addr_t pa_rx; |
62 | }; | 62 | }; |