summaryrefslogtreecommitdiff
path: root/drivers/net/fddi
diff options
context:
space:
mode:
authorCai Huoqing <caihuoqing@baidu.com>2021-09-25 15:52:08 +0300
committerDavid S. Miller <davem@davemloft.net>2021-09-27 14:29:33 +0300
commit064d0171d7ee5005020da631135d4d6dc4b72695 (patch)
treeabaee5c10f632435f17ade0e6c1f8090f59265de /drivers/net/fddi
parentb38bcb41f1448a2ce95c12e21862b9c60d33aca1 (diff)
downloadlinux-064d0171d7ee5005020da631135d4d6dc4b72695.tar.xz
net: fddi: skfp: Fix a function name in comments
Use dma_map_single() instead of pci_map_single(), because only dma_map_single() is called here. Signed-off-by: Cai Huoqing <caihuoqing@baidu.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/fddi')
-rw-r--r--drivers/net/fddi/skfp/skfddi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/fddi/skfp/skfddi.c b/drivers/net/fddi/skfp/skfddi.c
index c5cb421f9890..cc5126ea7ef5 100644
--- a/drivers/net/fddi/skfp/skfddi.c
+++ b/drivers/net/fddi/skfp/skfddi.c
@@ -1012,7 +1012,7 @@ static int skfp_siocdevprivate(struct net_device *dev, struct ifreq *rq, void __
* is contained in a single physically contiguous buffer
* in which the virtual address of the start of packet
* (skb->data) can be converted to a physical address
- * by using pci_map_single().
+ * by using dma_map_single().
*
* We have an internal queue for packets we can not send
* immediately. Packets in this queue can be given to the