ucc_geth: suppress 'qe_bd_t' undeclared error
Subsystems (2)
PATCH 1/1 ucc_geth: suppress 'qe_bd_t' undeclared error
drivers/net/ucc_geth.c:2151: error: ‘qe_bd_t’ undeclared (first use in this function)
Signed-off-by Kim Phillips <[email protected]>
---
Leo, this is for 2.6.23.
drivers/net/ucc_geth.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/net/ucc_geth.c +1 -1
@@ -2148,7 +2148,7 @@ static void ucc_geth_memclean(struct ucc_geth_private *ugeth)for (j =0 ; j < ugeth->ug_info->bdRingLenTx[i]; j++) {if (ugeth->tx_skbuff[i][j]) {dma_unmap_single (NULL , - ((qe_bd_t *)bd)->buf, + ((struct qe_bd *)bd)->buf, (in_be32 ((u32 *)bd) &BD_LENGTH_MASK ),DMA_TO_DEVICE );
Signature · 1 line
1.5.2.2