[PATCH] [POWERPC] ucc_geth: fix compilation
Anton Vorontsov
avorontsov at ru.mvista.com
Wed Sep 12 21:24:56 EST 2007
This patch is against paulus/powerpc.git or galak/powerpc.git tree.
Both affected.
- - - -
From: Anton Vorontsov <avorontsov at ru.mvista.com>
There is no qe_bd_t typedef any longer, now it's struct qe_bd.
Signed-off-by: Anton Vorontsov <avorontsov at ru.mvista.com>
---
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.0.6
More information about the Linuxppc-dev
mailing list