[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20070831113551.ebc91dbd.kim.phillips@freescale.com>
Date: Fri, 31 Aug 2007 11:35:51 -0500
From: Kim Phillips <kim.phillips@...escale.com>
To: netdev@...r.kernel.org
Cc: Li Yang <leoli@...escale.com>
Subject: [PATCH] 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 <kim.phillips@...escale.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
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists