net: ll_temac: Fix typo bug for 32-bit
authorEsben Haabendal <esben@geanix.com>
Thu, 2 May 2019 06:43:43 +0000 (08:43 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 2 May 2019 13:20:31 +0000 (09:20 -0400)
Fixes: d84aec42151b ("net: ll_temac: Fix support for 64-bit platforms")
Signed-off-by: Esben Haabendal <esben@geanix.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/xilinx/ll_temac_main.c

index 1003ee14c833fdec5d768e5425c2a355c0f0798f..ca95c726269a9bd27ae65ab19bc6d07605687aa9 100644 (file)
@@ -658,7 +658,7 @@ void *ptr_from_txbd(struct cdmac_bd *bd)
 
 #else
 
-void ptr_to_txbd(void *p, struct cmdac_bd *bd)
+void ptr_to_txbd(void *p, struct cdmac_bd *bd)
 {
        bd->app4 = (u32)p;
 }