Netdev List
 help / color / mirror / Atom feed
* [PATCH] ucc_geth: suppress 'qe_bd_t' undeclared error
@ 2007-08-31 16:35 Kim Phillips
  0 siblings, 0 replies; only message in thread
From: Kim Phillips @ 2007-08-31 16:35 UTC (permalink / raw)
  To: netdev; +Cc: Li Yang

drivers/net/ucc_geth.c:2151: error: ‘qe_bd_t’ undeclared (first use in this function)

Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
---
Leo, this is for 2.6.23.

 drivers/net/ucc_geth.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/net/ucc_geth.c b/drivers/net/ucc_geth.c
index 12e01b2..9a38dfe 100644
--- a/drivers/net/ucc_geth.c
+++ b/drivers/net/ucc_geth.c
@@ -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);
-- 
1.5.2.2


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2007-08-31 16:35 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-31 16:35 [PATCH] ucc_geth: suppress 'qe_bd_t' undeclared error Kim Phillips

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox