Skip to contentSkip to conversation

ucc_geth: suppress 'qe_bd_t' undeclared error

PATCH New Kim Phillips 1 participant 1 message Aug 31, 2007

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

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)

---
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
index 12e01b2..9a38dfe 100644
@@ -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