bna: Fix build due to missing use of dma_unmap_len_set()
authorDavid S. Miller <davem@davemloft.net>
Tue, 7 Jan 2014 01:37:41 +0000 (20:37 -0500)
committerDavid S. Miller <davem@davemloft.net>
Tue, 7 Jan 2014 01:37:41 +0000 (20:37 -0500)
commitecca6a968fc454da641cda7aece35c4e103ad633
tree63b7ebcc38b4a32964bc79bdfbbd2cf8318fa404
parent438e38fadca2f6e57eeecc08326c8a95758594d4
bna: Fix build due to missing use of dma_unmap_len_set()

> as reported for linux-next of Dec.20, 2013
> when CONFIG_NEED_DMA_MAP_STATE is not enabled:
>
> drivers/net/ethernet/brocade/bna/bnad.c: In function 'bnad_start_xmit':
> drivers/net/ethernet/brocade/bna/bnad.c:3074:26: error: 'struct bnad_tx_vector' has no member named 'dma_len'

Reported-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/brocade/bna/bnad.c