diff options
author | Erwan Bracq <erwan.bracq@stericsson.com> | 2011-12-06 07:25:05 +0000 |
---|---|---|
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 @@ 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; }; |